Avatar of truck_nguyen
truck_nguyen

asked on 

ASA5510 Site 2 Site VPN tunnel not working...

Hello...

I have ASA5510s on both ends... both are ASA Ver 7.2(4) and ASDM Ver 5.2(4)... I setup the site 2 site VPN using the VPN wizard... but the wizard never works correctly even in earlier releases.  Sh run provided below for both ASA... Thanks...

ASA1...

FabCorpASA-1# sh run
: Saved
:
ASA Version 7.2(4)
!
hostname FabCorpASA-1
domain-name test
enable password Z5fhsnk.Uhr.xAh3 encrypted
passwd Z5fhsnk.Uhr.xAh3 encrypted
names
dns-guard
!
interface Ethernet0/0
 nameif outside
 security-level 0
 ip address 10.102.102.6 255.255.255.0
!
interface Ethernet0/1
 nameif inside
 security-level 100
 ip address 172.16.1.1 255.255.255.0
!
interface Ethernet0/2
 shutdown
 no nameif
 no security-level
 no ip address
!
interface Ethernet0/3
 shutdown
 no nameif
 no security-level
 no ip address
!
interface Management0/0
 nameif management
 security-level 100
 ip address 192.168.1.1 255.255.255.0
 management-only
!
banner login KEEP OUT
boot system disk0:/asa724-k8.bin
ftp mode passive
dns server-group DefaultDNS
 domain-name test
same-security-traffic permit intra-interface
access-list outside_1_cryptomap extended permit ip 172.16.1.0 255.255.255.0 172.16.2.0 255.255.255.0
access-list inside_nat0_outbound extended permit ip 172.16.1.0 255.255.255.0 172.16.2.0 255.255.255.0
pager lines 24
logging enable
logging timestamp
logging asdm informational
mtu outside 1500
mtu inside 1500
mtu management 1500
icmp unreachable rate-limit 1 burst-size 1
asdm image disk0:/asdm-524.bin
no asdm history enable
arp timeout 14400
nat (inside) 0 access-list inside_nat0_outbound
route outside 0.0.0.0 0.0.0.0 10.102.102.1 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
http server enable
http 10.0.0.0 255.0.0.0 outside
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 map outside_map 1 match address outside_1_cryptomap
crypto map outside_map 1 set pfs group1
crypto map outside_map 1 set peer 10.102.102.8
crypto map outside_map 1 set transform-set ESP-3DES-SHA
crypto map outside_map interface outside
crypto isakmp identity hostname
crypto isakmp enable outside
crypto isakmp enable inside
crypto isakmp policy 10
 authentication pre-share
 encryption 3des
 hash sha
 group 2
 lifetime 86400
telnet timeout 5
ssh timeout 5
console timeout 10
dhcpd address 192.168.1.2-192.168.1.254 management
dhcpd enable management
!
tunnel-group 10.102.102.8 type ipsec-l2l
tunnel-group 10.102.102.8 ipsec-attributes
 pre-shared-key *
!
class-map inspection_default
 match default-inspection-traffic
!            
!
policy-map type inspect dns migrated_dns_map_1
 parameters
  message-length maximum 512
policy-map global_policy
 class inspection_default
  inspect dns migrated_dns_map_1
  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:852c39fdb6c4ad1e061428677dbdbacb
: end


ASA2...



FabCorpASA-2# sh run
: Saved
:
ASA Version 7.2(4)
!
hostname FabCorpASA-2
domain-name test
enable password Z5fhsnk.Uhr.xAh3 encrypted
passwd Z5fhsnk.Uhr.xAh3 encrypted
names
dns-guard
!
interface Ethernet0/0
 nameif outside
 security-level 0
 ip address 10.102.102.8 255.255.255.0
!
interface Ethernet0/1
 nameif inside
 security-level 100
 ip address 172.16.2.1 255.255.255.0
!
interface Ethernet0/2
 shutdown
 no nameif
 no security-level
 no ip address
!
interface Ethernet0/3
 shutdown
 no nameif
 no security-level
 no ip address
!
interface Management0/0
 nameif management
 security-level 100
 ip address 192.168.1.1 255.255.255.0
 management-only
!
banner login KEEP OUT
boot system disk0:/asa724-k8.bin
ftp mode passive
dns server-group DefaultDNS
 domain-name test
same-security-traffic permit intra-interface
access-list outside_1_cryptomap extended permit ip 172.16.2.0 255.255.255.0 172.16.1.0 255.255.255.0
access-list inside_nat0_outbound extended permit ip 172.16.2.0 255.255.255.0 172.16.1.0 255.255.255.0
pager lines 24
logging enable
logging timestamp
logging asdm informational
mtu outside 1500
mtu inside 1500
mtu management 1500
icmp unreachable rate-limit 1 burst-size 1
asdm image disk0:/asdm-524.bin
no asdm history enable
arp timeout 14400
nat (inside) 0 access-list inside_nat0_outbound
route outside 0.0.0.0 0.0.0.0 10.102.102.1 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
http server enable
http 10.0.0.0 255.0.0.0 outside
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 map outside_map 1 match address outside_1_cryptomap
crypto map outside_map 1 set pfs group1
crypto map outside_map 1 set peer 10.102.102.6
crypto map outside_map 1 set transform-set ESP-3DES-SHA
crypto map outside_map interface outside
crypto isakmp identity hostname
crypto isakmp enable outside
crypto isakmp enable inside
crypto isakmp policy 10
 authentication pre-share
 encryption 3des
 hash sha
 group 2
 lifetime 86400
telnet timeout 5
ssh timeout 5
console timeout 10
dhcpd address 192.168.1.2-192.168.1.254 management
dhcpd enable management
!
tunnel-group 10.102.102.6 type ipsec-l2l
tunnel-group 10.102.102.6 ipsec-attributes
 pre-shared-key *
!
class-map inspection_default
 match default-inspection-traffic
!            
!
policy-map type inspect dns migrated_dns_map_1
 parameters
  message-length maximum 512
policy-map global_policy
 class inspection_default
  inspect dns migrated_dns_map_1
  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:27a26270f877852374f62c389eaf5330
: end
VPNInternet Protocol SecurityCisco

Avatar of undefined
Last Comment
Les Moore
Avatar of truck_nguyen
truck_nguyen

ASKER

FYI -
when pasting the SH RUN output into the Cisco Interpreter tool.... this is what I receive...

WARNING: (VPN) There are an unequal number of 'ipsec-isakmp', 'ipsec-manual', 'match
address', 'set transform-set' and 'set peer' 'crypto map' configuration statements.
Each crypto map requires at least 4 statements. For example:
  crypto map example_map 10 ipsec-isakmp
  crypto map example_map 10 match address 100
  crypto map example_map 10 set peer 171.70.24.6
  crypto map example_map 10 set transform-set myset
or
  crypto map example_map 10 ipsec-manual
  crypto map example_map 10 match address 100
  crypto map example_map 10 set peer 171.70.24.6
  crypto map example_map 10 set transform-set myset
TRY THIS:  Ensure that your crypto maps contain the correct statements.


ERROR: Ensure that ISAKMP is enabled on the devices. If there is no indication that
an IPSec VPN tunnel comes up at all, it possibly is due to the fact that ISAKMP
has not been enabled.
TRY THIS: Enable ISAKMP on the devices using the following command:'crypto isakmp
am-disable'  using the 'no' form of the command

WARNING: The commands 'sysopt connection permit-ipsec' and 'sysopt connection permit-vpn'
allow packets from an IPSec tunnel and their payloads to bypass interface ACLs on
the security appliance. IPSec tunnels that are terminated on the security appliance
are likely to fail if one of these commands is not enabled.
TRY THIS: In Security Appliance Software Version 7.0 and earlier, the relevant sysopt
command for this situation is 'sysopt connection permit-ipsec'.In Security Appliance
Software Version 7.1(1) and later, the relevant sysopt command for this situation
is 'sysopt connection permit-vpn'.

Hope this helps...
ASKER CERTIFIED SOLUTION
Avatar of Les Moore
Les Moore
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Cisco
Cisco

Cisco PIX is a dedicated hardware firewall appliance; the Cisco Adaptive Security Appliance (ASA) is a firewall and anti-malware security appliance that provides unified threat management and protection the PIX does not. Other Cisco devices and systems include routers, switches, storage networking, wireless and the software and hardware for PIX Firewall Manager (PFM), PIX Device Manager (PDM) and Adaptive Security Device Manager (ASDM).

27K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo