ASA VPN Access to Internet

Posted on 2009-12-28
Last Modified: 2012-05-08
I have gone through several config edits in order to get access to my local network from the VPN network.  In doing so, I lost access to the internet.  All internet traffic for VPN users should traverse the tunnel and go out the ASA outsi9de interface.  I know it is something simple I am missing, but I am not sure what that "something" is.

Config is attached.  I am guessing I have a NAT problem...

Thanks for all the help in advance.


hostname sun
domain-name guestnet
enable password *************************
passwd *********** encrypted
interface Vlan1
 nameif outside
 security-level 0
 ip address
interface Vlan4
 no nameif
 security-level 50
 ip address pppoe
interface Vlan11
 nameif inside
 security-level 100
 ip address
interface Ethernet0/0
interface Ethernet0/1
 switchport access vlan 11
interface Ethernet0/2
 switchport access vlan 11
interface Ethernet0/3
 switchport access vlan 11
interface Ethernet0/4
 switchport access vlan 11
interface Ethernet0/5
 switchport access vlan 11
interface Ethernet0/6
 switchport access vlan 11
interface Ethernet0/7
 switchport access vlan 11
boot system disk0:/asa821-k8.bin
ftp mode passive
clock timezone EST -5
clock summer-time EDT recurring
dns server-group DefaultDNS
 domain-name hexnet
same-security-traffic permit inter-interface
same-security-traffic permit intra-interface
access-list inbound extended permit icmp any any
access-list inbound extended permit ip any inactive
access-list inbound extended permit ip any inactive
access-list inbound extended permit ip any host
access-list nonat extended permit ip any
pager lines 24
logging enable
logging console critical
logging asdm critical
logging mail alerts
logging from-address CiscoWarning@*****.com
logging recipient-address ****@****.com level alerts
no logging message 106015
no logging message 313001
no logging message 313008
no logging message 106023
no logging message 710003
no logging message 106100
no logging message 302015
no logging message 302014
no logging message 302013
no logging message 302018
no logging message 302017
no logging message 302016
no logging message 302021
no logging message 302020
mtu outside 1500
mtu inside 1500
ip local pool vpnpool
icmp unreachable rate-limit 1 burst-size 1
asdm image disk0:/asdm-621(2).bin
no asdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 0 access-list nonat
nat (inside) 1
static (inside,outside) netmask
access-group inbound in interface outside
route outside 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 enable console LOCAL
aaa authentication http console LOCAL
aaa authentication ssh console LOCAL
aaa authentication telnet console LOCAL
http server enable
http 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-AES-256-MD5 esp-aes-256 esp-md5-hmac
crypto ipsec transform-set ESP-DES-SHA esp-des esp-sha-hmac
crypto ipsec transform-set ESP-DES-MD5 esp-des esp-md5-hmac
crypto ipsec transform-set ESP-AES-192-MD5 esp-aes-192 esp-md5-hmac
crypto ipsec transform-set ESP-3DES-MD5 esp-3des 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 security-association lifetime seconds 28800
crypto ipsec security-association lifetime kilobytes 4608000
crypto dynamic-map SYSTEM_DEFAULT_CRYPTO_MAP 65535 set pfs
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 10
 authentication pre-share
 encryption 3des
 hash sha
 group 2
 lifetime 86400
crypto isakmp nat-traversal 30
telnet inside
telnet timeout 10
ssh inside
ssh timeout 60
console timeout 0
management-access inside
dhcpd dns *.*.*.*  
dhcpd lease 14400
dhcpd ping_timeout 300
dhcpd domain hexnet
dhcpd address inside
dhcpd dns *.*.*.* interface inside
dhcpd lease 14400 interface inside
dhcpd ping_timeout 300 interface inside
dhcpd domain geeknet interface inside
dhcpd update dns both interface inside
dhcpd enable inside

threat-detection basic-threat
threat-detection scanning-threat shun duration 3600
threat-detection statistics
threat-detection statistics tcp-intercept rate-interval 30 burst-rate 400 average-rate 200
group-policy hexvpn internal
group-policy hexvpn attributes
 dns-server value
 vpn-tunnel-protocol IPSec svc
 split-tunnel-policy tunnelall
 default-domain value hexnet
username fakeuser password ********************** encrypted privilege 15
tunnel-group guestvpn type remote-access
tunnel-group guestvpn general-attributes
 address-pool vpnpool
 default-group-policy guestvpn
tunnel-group guestvpn 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 netbios
  inspect rsh
  inspect rtsp
  inspect skinny
  inspect esmtp
  inspect sqlnet
  inspect sunrpc
  inspect tftp
  inspect sip
  inspect xdmcp
service-policy global_policy global
prompt hostname context
: end

Open in new window

Question by:TheHexzero
    LVL 57

    Expert Comment

    by:Pete Long
    If you wanted your remote VPN clients to get internet access FROM the network behind the ASA then you need a proxy server on that site and the clients browsers need to be configured to use that proxy?
    Unless you are saying you want split tunneling enabling so they can browse the internet while connected to the VPN? if so add the following
     access-list Split-Tunnel standard permit
      group-policy guestvpn attributes
     dns-server value {dnsserver1} {dnsserver2}
     split-tunnel-policy tunnelspecified
     split-tunnel-network-list value Split-Tunnel
     default-domain value
    LVL 4

    Expert Comment

    which tunnel group are your vpn users accessing?
    LVL 4

    Accepted Solution

    im guessing you are using guestvpn
    if so enable
    ' split-tunnel-policy tunnelall'
    for guestvpn

    looking at the nat configuration, everything seems okay.
    you seem to have same-security-traffic permit intra-interface which would be needed to doing the hairpin route you want to take to sending internet traffic out.

    here is the config guide to what you want to do.

    if it helps any but Im thinking you've already looked at it
    LVL 4

    Expert Comment

    i presume from what you are saying that the vpn clients are able to connect and access the inside network just fine. is this right?

    Author Closing Comment

    A victim of my own circumstance.  The policy was set to the default instead of the custom policy i set with the tunnelall option set.  Thanks!

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    How to configure Site to Site VPN on a Cisco ASA.     (version: 1.1 - updated August 6, 2009) Index          [Preface]   1.    [Introduction]   2.    [The situation]   3.    [Getting started]   4.    [Interesting traffic]   5.    [NAT0]   6.…
    I recently attended Cisco Live! in Las Vegas, a conference that boasted over 28,000 techies in attendance, and a week of hands-on learning hosted by a solid partner with which Concerto goes to market.  Every year, Cisco displays cutting-edge technol…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    760 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

    Need Help in Real-Time?

    Connect with top rated Experts

    7 Experts available now in Live!

    Get 1:1 Help Now