Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


Cisco ASA 5505 site to site vpn tunnel problems.

Posted on 2011-09-26
Medium Priority
Last Modified: 2012-05-12
I'm an extreme novice when it comes to cisco configurations, so please be patient with me.

I configured an ASA for a home user to connect to our VPN here at the office.  He is using Comcast, plugs the comcast box into Port 0 on the ASA.  Plugs his IP phone and laptop into ports 1 and 2, but gets not connectivity to the network and cannot get out to the internet.

However, I am able to SSH to his ASA from our main office.  So something is working, but not the vpn connection.  I have no idea how to debug what is happening, which I'm hoping to get some suggestions.

One thing I should mention is that we do not manage our firewall here, it is managed by our ISP. Which, shockingly, they have been known to make mistakes when adding these tunnels to the equipment.

Here is the configuration:

ASA Version 8.2(1)
hostname XXX
enable password VP499FidYERGYyR/ encrypted
passwd Yum1d1V7A/1BMuwH encrypted
interface Vlan1
 nameif inside
 security-level 100
 ip address
interface Vlan2
 nameif outside
 security-level 0
 ip address xx.xx.xx.xx
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
ftp mode passive
clock timezone EST -5
clock summer-time EDT recurring
access-list vpn_range extended permit ip 25
access-list nonat extended permit ip 255.0.
pager lines 24
logging enable
logging timestamp
logging buffer-size 16384
logging buffered informational
logging asdm informational
logging flash-bufferwrap
mtu inside 1500
mtu outside 1500
icmp unreachable rate-limit 1 burst-size 1
icmp permit any inside
icmp permit any outside
no asdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 0 access-list nonat
nat (inside) 1
route outside xx.xx.xx.xx 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
timeout tcp-proxy-reassembly 0:01:00
dynamic-access-policy-record DfltAccessPolicy
aaa authentication ssh console LOCAL
http server enable
http inside
http inside
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart
crypto ipsec transform-set strong esp-3des esp-md5-hmac
crypto ipsec transform-set FIX esp-aes esp-sha-hmac
crypto ipsec security-association lifetime seconds 28800
crypto ipsec security-association lifetime kilobytes 4608000
crypto map outside_map 10 match address vpn_range
crypto map outside_map 10 set peer xx.xx.xx.xx
crypto map outside_map 10 set transform-set strong
crypto map outside_map interface outside
crypto isakmp identity address
crypto isakmp enable outside
crypto isakmp policy 10
 authentication pre-share
 encryption 3des
 hash md5
 group 2
 lifetime 86400
telnet timeout 5
ssh xx.xx.xx.xx inside
ssh xx.xx.xx.xx outside
ssh xx.xx.xx.xx outside
ssh xx.xx.xx.xx outside
ssh xx.xx.xx.xx outside
ssh timeout 5
console timeout 0
management-access inside
dhcpd auto_config outside
dhcpd address inside
dhcpd dns xx.xx.xx.xx interface inside
dhcpd wins xx.xx.xx.xx interface inside

threat-detection basic-threat
threat-detection statistics access-list
no threat-detection statistics tcp-intercept
ntp server
username xxxx password Am/WprjddB3lDJoV encrypted privilege 15
username xxxx password cybe2E0oKjivvMC1 encrypted privilege 15
tunnel-group xx.xx.xx.xx type ipsec-l2l
tunnel-group xx.xx.xx.xx ipsec-attributes
 pre-shared-key *
class-map inspection_default
 match default-inspection-traffic
policy-map type inspect dns preset_dns_map
  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
  inspect icmp
service-policy global_policy global
prompt hostname context
: end

I just really don't even know where to start with debugging commands, to see where the problem could be.

Thank you!
Question by:cas_three
  • 2
LVL 18

Expert Comment

ID: 36701389
Your VLAN interface address needs to be a host address, not a subnet.  Other than that, I don't see anything obviously wrong, but I'll keep looking.
LVL 18

Accepted Solution

jmeggers earned 1000 total points
ID: 36703248
Don't see anything else.

First thing, I'd say, is the host computer getting an IP address, and can he ping the ASA?  Can the ASA ping Comcast? If traffic isn't flowing, is there a NAT translation being created (show xlate)?  Start with those and we'll move on depending on what you see.
LVL 18

Assisted Solution

fgasimzade earned 1000 total points
ID: 36707656
Have you added sysopt connection permit-ipsec command?

Author Closing Comment

ID: 36892161
I do appreciate the suggestions even though they didn't fix my problem.

I was missing one command, dhcpd enable inside.  It wasn't handing out ip addresses.

Thank you

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

When speed and performance are vital to revenue, companies must have complete confidence in their cloud environment.
This article is in regards to the Cisco QSFP-4SFP10G-CU1M cables, which are designed to uplink/downlink 40GB ports to 10GB SFP ports. I recently experienced this and found very little configuration documentation on how these are supposed to be confi…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
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…
Suggested Courses

580 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