Solved

Cisco IPSec VPN not passing traffic

Posted on 2008-10-10
3
1,702 Views
Last Modified: 2012-05-05
I am trying to get a VPN established into our ASA 5510. I included what I think is the important parts of our config for review. I have been trying to use the ASDM to get this working and I am sure I'm missing something!

I can successfully connect to the VPN, traffic not going through the tunnel is OK. But I cannot reach any hosts through the tunnel, not even the inside interface of the ASA. The "Route Details" tab on the Client looks good 10.0.0.0 - 255.0.0.0 and 192.168.7.0 - 255.255.255.0. I can see that traffic is being encrypted but nothing being decrypted.


ASA Version 8.0(3) 
!
hostname LabASA1
enable password gNQNXMuAM.Aeew2L encrypted
names
name 10.0.0.0 Prod_Net
!
interface Ethernet0/0
 nameif Outside
 security-level 0
 ip address 66.x.x.12 255.255.255.240 
!
interface Ethernet0/1
 nameif Inside
 security-level 100
 ip address 192.168.7.20 255.255.255.0 
!
 
!
 
same-security-traffic permit inter-interface
same-security-traffic permit intra-interface
access-list VPN_ACL standard permit 192.168.7.0 255.255.255.0 
access-list VPN_ACL standard permit Prod_Net 255.0.0.0 
access-list Inside_access_in extended permit ip any any 
 
 
global (Outside) 101 66.x.x.11
nat (Inside) 101 0.0.0.0 0.0.0.0
access-group Inside_access_in in interface Inside
route Outside 0.0.0.0 0.0.0.0 66.x.x.1 1
route Inside Prod_Net 255.0.0.0 192.168.7.2 1
 
 
crypto ipsec transform-set ESP-AES-128-SHA esp-aes esp-sha-hmac 
crypto ipsec transform-set ESP-AES-256-MD5 esp-aes-256 esp-md5-hmac 
crypto ipsec transform-set ESP-DES-MD5 esp-des esp-md5-hmac 
crypto ipsec transform-set ESP-AES-256-SHA esp-aes-256 esp-sha-hmac 
crypto ipsec transform-set ESP-AES-128-MD5 esp-aes esp-md5-hmac 
crypto ipsec transform-set ESP-DES-SHA esp-des esp-sha-hmac 
crypto ipsec transform-set ESP-AES-192-MD5 esp-aes-192 esp-md5-hmac 
crypto ipsec transform-set ESP-AES-192-SHA esp-aes-192 esp-sha-hmac 
crypto ipsec transform-set ESP-3DES-SHA esp-3des esp-sha-hmac 
crypto ipsec transform-set ESP-3DES-MD5 esp-3des esp-md5-hmac 
crypto dynamic-map SYSTEM_DEFAULT_CRYPTO_MAP 65535 set transform-set ESP-AES-128-SHA ESP-AES-128-MD5 ESP-AES-192-SHA ESP-AES-192-MD5 ESP-AES-256-SHA ESP-AES-256-MD5 ESP-3DES-SHA ESP-3DES-MD5 ESP-DES-SHA ESP-DES-MD5
crypto map Outside_map 65535 ipsec-isakmp dynamic SYSTEM_DEFAULT_CRYPTO_MAP
crypto map Outside_map interface Outside
crypto isakmp enable Outside
crypto isakmp policy 5
 authentication pre-share
 encryption 3des
 hash sha
 group 2
 lifetime 86400
crypto isakmp policy 10
 authentication pre-share
 encryption des
 hash sha
 group 2
 lifetime 86400
no vpn-addr-assign aaa
no vpn-addr-assign local
 
 
dhcpd address 192.168.1.2-192.168.1.254 management
dhcpd enable management
!
 
 
group-policy Lab_Policy internal
group-policy Lab_Policy attributes
 split-tunnel-policy tunnelspecified
 split-tunnel-network-list value VPN_ACL
username Admin password RtMzMLN9zS8TkNnY encrypted privilege 15
 
tunnel-group VPN_Access type remote-access
tunnel-group VPN_Access general-attributes
 default-group-policy Lab_Policy
 dhcp-server 10.10.1.20
tunnel-group VPN_Access ipsec-attributes
 pre-shared-key *
!

Open in new window

0
Comment
Question by:Level12
3 Comments
 
LVL 4

Expert Comment

by:fileinster
ID: 22693582
If you are trying to set up a site-to-site VPN, you do not have any configuration for that setup; you only have the dynamic RA set on your outside interface used for VPN clients. A client based VPN will not meet your needs. If the following doesn't work you will also have to post the configuration of both sides, not just one to ensure they match. I'm not very familiar with the ASDM. You should need something like this on the cmd line:
 
 
 

access-list remotesite extended permit ip 10.0.0.0 255.0.0.0 192.168.7.0 255.255.255.0
crypto map Outside_map 10 match address remotesite
crypto map Outside_map 10 set peer x.x.x.x
crypto map Outside_map 10 set transform-set ESP-AES-256-SHA
tunnel-group x.x.x.x type ipsec-l2l
tunnel-group x.x.x.x ipsec-attributes
 pre-shared-key *

Open in new window

0
 
LVL 79

Expert Comment

by:lrmoore
ID: 22694019
Enable nat-t
  crypto isakmp nat-traversal 25
0
 

Accepted Solution

by:
Level12 earned 0 total points
ID: 22698488
I was able to get this working since the original post. After reviewing several other posts I dove into the CLI and added the following.

Created a DHCP pool for the VPN clients:
ip local pool VPN_Pool 192.168.6.100-192.168.6.120 mask 255.255.255.0

Nat VPN traffic :
access-list inside_nat0_outbound extended permit ip 192.168.7.0 255.255.255.0 192.168.6.0 255.255.255.0
access-list inside_nat0_outbound extended permit ip Prod_Net 255.0.0.0 192.168.6.0 255.255.255.0
nat (Inside) 0 access-list inside_nat0_outbound

Added to the tunnel group
 address-pool VPN_Pool

Hopefully this will help someone!

0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Cisco 3650 switch 7 46
How do I allow multiple VLANs internet access on a Cisco ASA 5505? 8 39
VLAN Question 7 33
ACL not working 11 18
Concerto Cloud Services, a provider of fully managed private, public and hybrid cloud solutions, announced today it was named to the 20 Coolest Cloud Infrastructure Vendors Of The 2017 Cloud  (http://www.concertocloud.com/about/in-the-news/2017/02/0…
For months I had no idea how to 'discover' the IP address of the other end of a link (without asking someone who knows), and it drove me batty. Think about it. You can't use Cisco Discovery Protocol (CDP) because it's not implemented on the ASAs.…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …
Both in life and business – not all partnerships are created equal. Spend 30 short minutes with us to learn:   • Key questions to ask when considering a partnership to accelerate your business into the cloud • Pitfalls and mistakes other partners…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question