VPN Clients unable to connect
Inviato: gio 03 set , 2009 11:38 am
Ciao a tutti!
Ho finalmente ultimato la configurazione del mio ASA 5505!
Ultimo problema che mi rimane da risolvere รจ la configurazione VPN.
Non capisco come mai con la configurazione di seguito postata tutto
funzionava correttamente nell'ambiente di prova, mentre ora che ho
messo il firewall in produzione il client VPN non si riesce a connettere
restituendo il seguente errore "Secure VPN Connection terminated by Peer. Reason 433:(Reason Not Specified by Peer)"!
Grazie in anticipo a tutti...
ASA Version 7.2(4)
!
hostname firewall
domain-name xxxxxxx.it
enable password 0Ez/ePZ/O4SRvAgl encrypted
passwd 0Ez/ePZ/O4SRvAgl encrypted
names
!
interface Vlan1
nameif inside
security-level 100
ip address 192.168.5.65 255.255.255.0
!
interface Vlan2
nameif outside
security-level 0
ip address 84.xxx.xxx.86 255.255.255.248
!
interface Vlan3
no forward interface Vlan1
nameif dmz
security-level 50
ip address 10.0.0.99 255.255.255.0
!
interface Ethernet0/0
switchport access vlan 2
!
interface Ethernet0/1
!
interface Ethernet0/2
switchport access vlan 3
!
interface Ethernet0/3
switchport access vlan 3
!
interface Ethernet0/4
switchport access vlan 3
!
interface Ethernet0/5
!
interface Ethernet0/6
!
interface Ethernet0/7
!
ftp mode passive
dns server-group DefaultDNS
domain-name xxx.it
object-group protocol TCPUDP
protocol-object udp
protocol-object tcp
access-list acl_icmp extended permit icmp any any
access-list acl_icmp extended permit tcp any host 84.xxx.xxx.82 eq www
access-list acl_icmp extended permit tcp any host 84.xxx.xxx.85 eq www
access-list acl_icmp extended permit tcp any host 84.xxx.xxx.83 eq www
access-list acl_icmp extended permit tcp any host 84.xxx.xxx.85 eq smtp
access-list acl_icmp extended permit tcp any host 84.xxx.xxx.85 eq pop3
access-list acl_icmp extended permit tcp any host 84.xxx.xxx.83 eq ftp
access-list acl_icmp extended permit tcp any host 84.xxx.xxx.83 eq ssh
access-list acl_icmp extended permit tcp any host 84.xxx.xxx.82 eq pcanywhere-data
access-list acl_icmp extended deny object-group TCPUDP any host 84.xxx.xxx.85 eq domain
access-list dmz_access_in extended permit icmp any host 10.0.0.56
access-list dmz_access_in extended permit tcp any any eq www
access-list dmz_access_in extended permit icmp any any
access-list dmz_access_in extended permit object-group TCPUDP host 10.0.0.56 host 195.110.128.1 eq domain
access-list dmz_access_in extended permit object-group TCPUDP host 10.0.0.100 host 195.110.128.1 eq domain
pager lines 24
logging enable
logging asdm informational
logging from-address [email protected]
logging recipient-address [email protected] level informational
mtu inside 1500
mtu outside 1500
mtu dmz 1500
ip local pool RemoteClientPool 192.168.5.10-192.168.5.20 mask 255.255.255.0
ip verify reverse-path interface outside
icmp unreachable rate-limit 1 burst-size 1
asdm image disk0:/asdm-524.bin
no asdm history enable
arp timeout 14400
global (outside) 1 interface
global (dmz) 1 interface
nat (inside) 1 192.168.5.0 255.255.255.0
nat (dmz) 1 10.0.0.0 255.255.255.0
static (inside,outside) tcp 84.xxx.xxx.85 www 192.168.5.254 www netmask 255.255.255.255
static (inside,outside) tcp 84.xxx.xxx.85 smtp 192.168.5.254 smtp netmask 255.255.255.255
static (inside,outside) tcp 84.xxx.xxx.85 pop3 192.168.5.254 pop3 netmask 255.255.255.255
static (dmz,outside) tcp 84.xxx.xxx.82 www 10.0.0.100 www netmask 255.255.255.255
static (dmz,outside) tcp 84.xxx.xxx.83 www 10.0.0.56 www netmask 255.255.255.255
static (dmz,outside) tcp 84.xxx.xxx.83 ssh 10.0.0.56 ssh netmask 255.255.255.255
static (dmz,outside) tcp 84.xxx.xxx.83 ftp 10.0.0.56 ftp netmask 255.255.255.255
static (dmz,outside) tcp 84.xxx.xxx.82 pcanywhere-data 10.0.0.100 pcanywhere-data netmask 255.255.255.255
access-group acl_icmp in interface outside
access-group dmz_access_in in interface dmz
route outside 0.0.0.0 0.0.0.0 84.xxx.xxx.81 1
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 sip-provisional-media 0:02:00 uauth 0:05:00 absolute
aaa authentication ssh console LOCAL
http server enable
http 192.168.5.0 255.255.255.0 inside
http authentication-certificate inside
http redirect inside 80
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 dynamic-map outside_dyn_map 20 set pfs group1
crypto dynamic-map outside_dyn_map 20 set transform-set ESP-3DES-SHA
crypto map outside_map 65535 ipsec-isakmp dynamic outside_dyn_map
crypto map outside_map interface outside
crypto isakmp enable inside
crypto isakmp enable outside
crypto isakmp policy 10
authentication pre-share
encryption 3des
hash sha
group 2
lifetime 86400
crypto isakmp nat-traversal 20
telnet timeout 5
ssh 192.168.5.0 255.255.255.0 inside
ssh timeout 30
ssh version 2
console timeout 0
ntp server 192.43.244.18 source outside prefer
group-policy Cisco internal
group-policy Cisco attributes
dns-server value 192.168.5.254
vpn-tunnel-protocol IPSec
default-domain value roma.xxx.it
username emilio password UhE4erOt2nM9Y9a2 encrypted privilege 0
username emilio attributes
vpn-group-policy Cisco
username alex password 8bzu2QSkWQmS7Ogv encrypted
tunnel-group Cisco type ipsec-ra
tunnel-group Cisco general-attributes
address-pool (inside) RemoteClientPool
default-group-policy Cisco
tunnel-group Cisco ipsec-attributes
pre-shared-key *
!
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
prompt hostname context
Cryptochecksum:1a5248435e6bae5d7676f0fff7772ec4
: end
asdm image disk0:/asdm-524.bin
no asdm history enable
Ho finalmente ultimato la configurazione del mio ASA 5505!
Ultimo problema che mi rimane da risolvere รจ la configurazione VPN.
Non capisco come mai con la configurazione di seguito postata tutto
funzionava correttamente nell'ambiente di prova, mentre ora che ho
messo il firewall in produzione il client VPN non si riesce a connettere
restituendo il seguente errore "Secure VPN Connection terminated by Peer. Reason 433:(Reason Not Specified by Peer)"!
Grazie in anticipo a tutti...
ASA Version 7.2(4)
!
hostname firewall
domain-name xxxxxxx.it
enable password 0Ez/ePZ/O4SRvAgl encrypted
passwd 0Ez/ePZ/O4SRvAgl encrypted
names
!
interface Vlan1
nameif inside
security-level 100
ip address 192.168.5.65 255.255.255.0
!
interface Vlan2
nameif outside
security-level 0
ip address 84.xxx.xxx.86 255.255.255.248
!
interface Vlan3
no forward interface Vlan1
nameif dmz
security-level 50
ip address 10.0.0.99 255.255.255.0
!
interface Ethernet0/0
switchport access vlan 2
!
interface Ethernet0/1
!
interface Ethernet0/2
switchport access vlan 3
!
interface Ethernet0/3
switchport access vlan 3
!
interface Ethernet0/4
switchport access vlan 3
!
interface Ethernet0/5
!
interface Ethernet0/6
!
interface Ethernet0/7
!
ftp mode passive
dns server-group DefaultDNS
domain-name xxx.it
object-group protocol TCPUDP
protocol-object udp
protocol-object tcp
access-list acl_icmp extended permit icmp any any
access-list acl_icmp extended permit tcp any host 84.xxx.xxx.82 eq www
access-list acl_icmp extended permit tcp any host 84.xxx.xxx.85 eq www
access-list acl_icmp extended permit tcp any host 84.xxx.xxx.83 eq www
access-list acl_icmp extended permit tcp any host 84.xxx.xxx.85 eq smtp
access-list acl_icmp extended permit tcp any host 84.xxx.xxx.85 eq pop3
access-list acl_icmp extended permit tcp any host 84.xxx.xxx.83 eq ftp
access-list acl_icmp extended permit tcp any host 84.xxx.xxx.83 eq ssh
access-list acl_icmp extended permit tcp any host 84.xxx.xxx.82 eq pcanywhere-data
access-list acl_icmp extended deny object-group TCPUDP any host 84.xxx.xxx.85 eq domain
access-list dmz_access_in extended permit icmp any host 10.0.0.56
access-list dmz_access_in extended permit tcp any any eq www
access-list dmz_access_in extended permit icmp any any
access-list dmz_access_in extended permit object-group TCPUDP host 10.0.0.56 host 195.110.128.1 eq domain
access-list dmz_access_in extended permit object-group TCPUDP host 10.0.0.100 host 195.110.128.1 eq domain
pager lines 24
logging enable
logging asdm informational
logging from-address [email protected]
logging recipient-address [email protected] level informational
mtu inside 1500
mtu outside 1500
mtu dmz 1500
ip local pool RemoteClientPool 192.168.5.10-192.168.5.20 mask 255.255.255.0
ip verify reverse-path interface outside
icmp unreachable rate-limit 1 burst-size 1
asdm image disk0:/asdm-524.bin
no asdm history enable
arp timeout 14400
global (outside) 1 interface
global (dmz) 1 interface
nat (inside) 1 192.168.5.0 255.255.255.0
nat (dmz) 1 10.0.0.0 255.255.255.0
static (inside,outside) tcp 84.xxx.xxx.85 www 192.168.5.254 www netmask 255.255.255.255
static (inside,outside) tcp 84.xxx.xxx.85 smtp 192.168.5.254 smtp netmask 255.255.255.255
static (inside,outside) tcp 84.xxx.xxx.85 pop3 192.168.5.254 pop3 netmask 255.255.255.255
static (dmz,outside) tcp 84.xxx.xxx.82 www 10.0.0.100 www netmask 255.255.255.255
static (dmz,outside) tcp 84.xxx.xxx.83 www 10.0.0.56 www netmask 255.255.255.255
static (dmz,outside) tcp 84.xxx.xxx.83 ssh 10.0.0.56 ssh netmask 255.255.255.255
static (dmz,outside) tcp 84.xxx.xxx.83 ftp 10.0.0.56 ftp netmask 255.255.255.255
static (dmz,outside) tcp 84.xxx.xxx.82 pcanywhere-data 10.0.0.100 pcanywhere-data netmask 255.255.255.255
access-group acl_icmp in interface outside
access-group dmz_access_in in interface dmz
route outside 0.0.0.0 0.0.0.0 84.xxx.xxx.81 1
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 sip-provisional-media 0:02:00 uauth 0:05:00 absolute
aaa authentication ssh console LOCAL
http server enable
http 192.168.5.0 255.255.255.0 inside
http authentication-certificate inside
http redirect inside 80
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 dynamic-map outside_dyn_map 20 set pfs group1
crypto dynamic-map outside_dyn_map 20 set transform-set ESP-3DES-SHA
crypto map outside_map 65535 ipsec-isakmp dynamic outside_dyn_map
crypto map outside_map interface outside
crypto isakmp enable inside
crypto isakmp enable outside
crypto isakmp policy 10
authentication pre-share
encryption 3des
hash sha
group 2
lifetime 86400
crypto isakmp nat-traversal 20
telnet timeout 5
ssh 192.168.5.0 255.255.255.0 inside
ssh timeout 30
ssh version 2
console timeout 0
ntp server 192.43.244.18 source outside prefer
group-policy Cisco internal
group-policy Cisco attributes
dns-server value 192.168.5.254
vpn-tunnel-protocol IPSec
default-domain value roma.xxx.it
username emilio password UhE4erOt2nM9Y9a2 encrypted privilege 0
username emilio attributes
vpn-group-policy Cisco
username alex password 8bzu2QSkWQmS7Ogv encrypted
tunnel-group Cisco type ipsec-ra
tunnel-group Cisco general-attributes
address-pool (inside) RemoteClientPool
default-group-policy Cisco
tunnel-group Cisco ipsec-attributes
pre-shared-key *
!
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
prompt hostname context
Cryptochecksum:1a5248435e6bae5d7676f0fff7772ec4
: end
asdm image disk0:/asdm-524.bin
no asdm history enable