Pagina 1 di 1
VPN L2TP con client Microsoft Windows XP
Inviato: gio 03 lug , 2008 8:58 pm
da metalgalle
Ciao a tutti,
sto impazzendo per far funzionare la VPN in oggetto (maledetto cliente che non vuole usare il client cisco...).
In definitiva, dopo aver fatto mille tentativi e varie configurazione prese da sito cisco & c. sono al punto in cui finalmente ho il client che manda le richieste UDP da IP xxx.xxx.xxx.xxx/1701 al mio caro ASA/1701, il quale continua a droppare le connessioni nonostante le abbia debitamente autorizzate con le ACL del caso.
Codice: Seleziona tutto
7 Jul 03 2008 21:47:09 710005 xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx UDP request discarded from xxx.xxx.xxx.xxx/1701 to outside:xxx.xxx.xxx.xxx/1701
Codice: Seleziona tutto
access-list outside_access_in extended permit udp any interface outside eq 1701 log notifications
Ho rifatto la config della VPN con lo step-by-step di cisco decine di volte, ormai sono sicuro che sia giusta...
Ma perchecacchio l'ASA mi continua a droppare i pacchetti destinati alla 1701 UDP??????
Help, please!!!
Grazie a tutti in anticipo!
Inviato: ven 04 lug , 2008 3:02 pm
da Wizard
Prova a farci vedere la config
Inviato: sab 05 lug , 2008 8:17 am
da metalgalle
Wizard ha scritto:Prova a farci vedere la config
Pronti!
Codice: Seleziona tutto
Result of the command: "show run"
: Saved
:
ASA Version 7.2(3)
!
hostname FWBernareggi
domain-name bernareggi.local
enable password yyy encrypted
names
name 192.168.45.202 SERVER-IDEA description Server Idea Azienda
!
interface Vlan1
nameif inside
security-level 100
ip address 192.168.45.253 255.255.255.0
!
interface Vlan2
nameif outside
security-level 0
ip address 192.168.1.254 255.255.255.0
!
interface Vlan3
shutdown
nameif dmz
security-level 50
no ip address
!
interface Ethernet0/0
switchport access vlan 2
!
interface Ethernet0/1
!
interface Ethernet0/2
!
interface Ethernet0/3
!
interface Ethernet0/4
!
interface Ethernet0/5
!
interface Ethernet0/6
!
interface Ethernet0/7
!
passwd zzz encrypted
ftp mode passive
clock timezone CEST 1
clock summer-time CEDT recurring last Sun Mar 2:00 last Sun Oct 3:00
dns domain-lookup inside
dns server-group DefaultDNS
name-server SERVER-IDEA
domain-name bernareggi.local
same-security-traffic permit inter-interface
same-security-traffic permit intra-interface
access-list Bernareggi_splitTunnelAcl standard permit 192.168.45.0 255.255.255.0
access-list inside_nat0_outbound extended permit ip 192.168.45.0 255.255.255.0 172.31.254.0 255.255.255.0
access-list inside_access_in extended permit ip 192.168.45.0 255.255.255.0 any
access-list outside_access_in extended permit tcp any host 192.168.1.254 eq https log notifications
access-list outside_access_in extended permit tcp any host 192.168.1.254 eq ssh log notifications
access-list outside_access_in extended permit udp any interface outside eq 1701 log notifications
access-list Crypto_Map_VPN_Dialer extended permit ip 172.31.254.0 255.255.255.0 192.168.45.0 255.255.255.0
pager lines 24
logging enable
logging timestamp
logging trap informational
logging asdm debugging
logging host inside SERVER-IDEA
mtu inside 1500
mtu outside 1500
mtu dmz 1500
ip local pool VPN_Dialer 172.31.254.100 mask 255.255.255.0
no failover
monitor-interface inside
monitor-interface outside
monitor-interface dmz
icmp unreachable rate-limit 1 burst-size 1
asdm image disk0:/asdm-523.bin
no asdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 0 access-list inside_nat0_outbound
nat (inside) 1 0.0.0.0 0.0.0.0
access-group inside_access_in in interface inside
access-group outside_access_in in interface outside
route outside 0.0.0.0 0.0.0.0 192.168.1.1 10
timeout xlate 3:00:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 icmp 0:00:02
timeout sunrpc 0:10:00 h323 0:05:00 h225 1:00:00 mgcp 0:05:00 mgcp-pat 0:05:00
timeout sip 0:30:00 sip_media 0:02:00 sip-invite 0:03:00 sip-disconnect 0:02:00
timeout uauth 0:05:00 absolute
ldap attribute-map BannerMap
map-name department cVPN3000-IETF-Radius-Class
aaa-server IAS_Bernareggi protocol radius
aaa-server IAS_Bernareggi host SERVER-IDEA
key FWBernareggi
aaa-server LDAP_Bernareggi protocol ldap
aaa-server LDAP_Bernareggi host SERVER-IDEA
ldap-base-dn dc=bernareggi,dc=local
ldap-scope subtree
ldap-naming-attribute sAMAccountName
ldap-login-password *
ldap-login-dn cn=administrator,cn=users,dc=bernareggi, dc=local
server-type microsoft
ldap-attribute-map BannerMap
aaa authentication enable console IAS_Bernareggi LOCAL
aaa authentication serial console IAS_Bernareggi LOCAL
aaa authentication ssh console IAS_Bernareggi LOCAL
aaa authentication telnet console IAS_Bernareggi LOCAL
aaa authentication http console IAS_Bernareggi LOCAL
http server enable 444
http 0.0.0.0 0.0.0.0 outside
http 0.0.0.0 0.0.0.0 inside
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart
crypto ipsec transform-set ESP-3DES-SHA esp-3des esp-sha-hmac
crypto ipsec transform-set ESP-DES-MD5 esp-des esp-md5-hmac
crypto ipsec transform-set ESP-DES-SHA esp-des esp-sha-hmac
crypto ipsec transform-set ESP-3DES-MD5 esp-3des esp-md5-hmac
crypto ipsec transform-set ESP-AES-256-MD5 esp-aes-256 esp-md5-hmac
crypto ipsec transform-set ESP-AES-192-MD5 esp-aes-192 esp-md5-hmac
crypto ipsec transform-set ESP-AES-256-SHA esp-aes-256 esp-sha-hmac
crypto ipsec transform-set ESP-AES-128-SHA esp-aes esp-sha-hmac
crypto ipsec transform-set ESP-AES-192-SHA esp-aes-192 esp-sha-hmac
crypto ipsec transform-set ESP-AES-128-MD5 esp-aes esp-md5-hmac
crypto ipsec transform-set TRANS_ESP_3DES_MD5 esp-3des esp-md5-hmac
crypto ipsec transform-set TRANS_ESP_3DES_MD5 mode transport
crypto dynamic-map outside_dyn_map 10 set transform-set TRANS_ESP_3DES_MD5
crypto map outside_map 65535 ipsec-isakmp dynamic outside_dyn_map
crypto map outside_map interface outside
crypto isakmp enable outside
crypto isakmp policy 10
authentication pre-share
encryption 3des
hash md5
group 2
lifetime 86400
crypto isakmp nat-traversal 60
telnet 0.0.0.0 0.0.0.0 inside
telnet timeout 5
ssh 0.0.0.0 0.0.0.0 inside
ssh 0.0.0.0 0.0.0.0 outside
ssh timeout 5
console timeout 0
l2tp tunnel hello 30
dhcpd auto_config outside
!
dhcpd address 192.168.45.254-192.168.45.254 inside
!
!
class-map inspection_default
match default-inspection-traffic
!
!
policy-map type inspect dns preset_dns_map
parameters
message-length maximum 512
policy-map global_policy
class inspection_default
inspect dns preset_dns_map
inspect ftp
inspect h323 h225
inspect h323 ras
inspect rsh
inspect rtsp
inspect esmtp
inspect sqlnet
inspect skinny
inspect sunrpc
inspect xdmcp
inspect sip
inspect netbios
inspect tftp
!
service-policy global_policy global
ntp server SERVER-IDEA source inside prefer
webvpn
enable outside
svc image disk0:/sslclient-win-1.1.0.154.pkg 1
svc enable
port-forward Administrative_Access 33001 192.168.45.202 3389 Server-Idea TS
port-forward Administrative_Access 33002 192.168.45.201 3389 Server-Marche TS
port-forward Client_Access 33003 192.168.45.213 3389 WS-Emiliano TS
port-forward Client_Access 33005 192.168.45.142 3389 EMI TS
port-forward Client_Access 33004 192.168.45.222 3389 BRIO TS
port-forward Client_Access 33007 192.168.45.121 3389 KAPPA TS
port-forward Client_Access 33006 192.168.45.144 3389 JOEL TS
port-forward Client_Access 33020 192.168.45.145 3389 WS-STEFY TS
port-forward Client_Access 33010 192.168.45.73 3389 PC-BOLI TS
port-forward Client_Access 33009 192.168.45.61 3389 MIND TS
port-forward Client_Access 33008 192.168.45.139 3389 MICKY TS
port-forward Client_Access 33019 192.168.45.54 3389 WS-RAMONA TS
port-forward Client_Access 33018 192.168.45.153 3389 WS-PIERA
port-forward Client_Access 33017 192.168.45.30 3389 WS-GIOEL TS
port-forward Client_Access 33016 192.168.45.214 3389 WS-BOLI TS
port-forward Client_Access 33015 192.168.45.45 3389 STEFY TS
port-forward Client_Access 33014 192.168.45.125 3389 PCMARCHE TS
port-forward Client_Access 33013 192.168.45.152 3389 PC_PIERA TS
port-forward Client_Access 33012 192.168.45.220 3389 PC-MATTEO TS
port-forward Client_Access 33011 192.168.45.120 3389 PC_GIOEL TS
group-policy WebVPNFullAccess internal
group-policy WebVPNFullAccess attributes
vpn-tunnel-protocol webvpn
webvpn
functions url-entry file-access file-entry file-browsing port-forward auto-download
port-forward value Administrative_Access
group-policy WebVPNClientAccess internal
group-policy WebVPNClientAccess attributes
vpn-tunnel-protocol webvpn
webvpn
functions file-access file-browsing port-forward
port-forward value Client_Access
group-policy DfltGrpPolicy attributes
banner none
wins-server value 192.168.45.202
dns-server value 192.168.45.202
dhcp-network-scope none
vpn-access-hours none
vpn-simultaneous-logins 3
vpn-idle-timeout 30
vpn-session-timeout none
vpn-filter none
vpn-tunnel-protocol IPSec l2tp-ipsec webvpn
password-storage disable
ip-comp disable
re-xauth disable
group-lock none
pfs disable
ipsec-udp disable
ipsec-udp-port 10000
split-tunnel-policy tunnelall
split-tunnel-network-list none
default-domain value bernareggi.local
split-dns none
intercept-dhcp 255.255.255.255 disable
secure-unit-authentication disable
user-authentication disable
user-authentication-idle-timeout 30
ip-phone-bypass disable
leap-bypass disable
nem disable
backup-servers keep-client-config
msie-proxy server none
msie-proxy method no-proxy
msie-proxy except-list none
msie-proxy local-bypass disable
nac disable
nac-sq-period 300
nac-reval-period 36000
nac-default-acl none
address-pools value VPN_Dialer
smartcard-removal-disconnect enable
client-firewall none
client-access-rule none
webvpn
functions url-entry
html-content-filter none
homepage none
keep-alive-ignore 4
http-comp gzip
filter none
url-list none
customization value DfltCustomization
port-forward none
port-forward-name value Application Access
sso-server none
deny-message value Login was successful, but because certain criteria have not been met or due to some specific group policy, you do not have permission to use any of the VPN features. Contact your IT administrator for more information
svc enable
svc keep-installer installed
svc keepalive none
svc rekey time none
svc rekey method none
svc dpd-interval client none
svc dpd-interval gateway none
svc compression deflate
group-policy Bernareggi internal
group-policy Bernareggi attributes
wins-server value 192.168.45.202
dns-server value 192.168.45.202
vpn-filter value Crypto_Map_VPN_Dialer
vpn-tunnel-protocol IPSec
split-tunnel-policy tunnelspecified
split-tunnel-network-list value Bernareggi_splitTunnelAcl
default-domain value bernareggi.local
address-pools value VPN_Dialer
webvpn
functions file-access file-entry file-browsing port-forward auto-download
port-forward value Administrative_Access
svc enable
svc keep-installer installed
svc keepalive 20
svc compression none
username root password xxx nt-encrypted privilege 15
tunnel-group DefaultRAGroup general-attributes
address-pool VPN_Dialer
tunnel-group DefaultRAGroup ipsec-attributes
pre-shared-key *
isakmp keepalive disable
tunnel-group DefaultRAGroup ppp-attributes
no authentication chap
authentication ms-chap-v2
tunnel-group DefaultWEBVPNGroup general-attributes
authentication-server-group LDAP_Bernareggi
tunnel-group Bernareggi type ipsec-ra
tunnel-group Bernareggi general-attributes
address-pool VPN_Dialer
authentication-server-group IAS_Bernareggi LOCAL
default-group-policy Bernareggi
tunnel-group Bernareggi ipsec-attributes
pre-shared-key *
no tunnel-group-map enable ou
no tunnel-group-map enable ike-id
no tunnel-group-map enable peer-ip
prompt hostname context
no compression svc http-comp
Inviato: dom 14 set , 2008 5:08 pm
da venon2k
Apri il regedit, vai a
HKLM\SYSTEM\CurrentControlSet\Services\RasMan\Parameters
Crea un valore DWORD nominato esattamente così ProhibitIpSec
dopodichè imposti il valore dword ad 1
Riavvia il computer.
Prova così ...
