VPN Split Tunneling - Cisco ASA 5505

Posted on 2007-12-03
Last Modified: 2012-05-05

I have a Cisco ASA 5505 which I have configured for VPN access and I can create a VPN connection fine.

The problem comes when I am VPN'ed in, I cannot access the internet/outlook emails locally - I need to be able to do this as we have a CRM system that has to be able to access a central server via the VPN connection.  At the same time the local MS Outlook needs to be able to communicate with a managed exchange server.

I have done a lot of research and have enabled split tunneling on the ASA.  I am using Cisco VPN Client software to establish the VPN connection (which I believe supports split tunelling).  

I do know this is possible but have little knowledge on networking?

I provide a print of my current configuration below:

ASA Version 7.2(3)
hostname ciscoasa
domain-name default.domain.invalid
enable password 8Ry2YjIyt7RRXU24 encrypted
interface Vlan1
 nameif inside
 security-level 100
 ip address
interface Vlan2
 nameif outside
 security-level 0
 ip address dhcp setroute
interface Vlan3
 no forward interface Vlan1
 nameif dmz
 security-level 50
 no ip address
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
passwd 2KFQnbNIdI.2KYOU encrypted
ftp mode passive
dns server-group DefaultDNS
 domain-name default.domain.invalid
same-security-traffic permit inter-interface
same-security-traffic permit intra-interface
access-list USAOFFICE_splitTunnelAcl_1 standard permit any
access-list DefaultRAGroup_splitTunnelAcl_1 standard permit any
access-list inside_nat0_outbound extended permit ip any
access-list test_splitTunnelAcl standard permit any
pager lines 24
logging enable
logging asdm informational
mtu inside 1500
mtu outside 1500
mtu dmz 1500
ip local pool NaplesPool mask
icmp unreachable rate-limit 1 burst-size 1
asdm image disk0:/asdm-523.bin
no asdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 0 access-list inside_nat0_outbound
nat (inside) 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 uauth 0:05:00 absolute
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 dynamic-map outside_dyn_map 20 set pfs
crypto dynamic-map outside_dyn_map 20 set transform-set ESP-3DES-SHA
crypto dynamic-map outside_dyn_map 40 set pfs
crypto dynamic-map outside_dyn_map 40 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 outside
crypto isakmp policy 10
 authentication pre-share
 encryption 3des
 hash sha
 group 2
 lifetime 86400
telnet timeout 5
ssh timeout 5
console timeout 0
dhcpd auto_config outside
dhcpd address inside
dhcpd enable inside

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
service-policy global_policy global
group-policy test internal
group-policy test attributes
 vpn-tunnel-protocol IPSec
 split-tunnel-policy tunnelspecified
 split-tunnel-network-list value test_splitTunnelAcl
group-policy DfltGrpPolicy attributes
 banner none
 wins-server none
 dns-server none
 dhcp-network-scope none
 vpn-access-hours none
 vpn-simultaneous-logins 3
 vpn-idle-timeout 30
 vpn-session-timeout none
 vpn-filter none
 vpn-tunnel-protocol IPSec l2tp-ipsec webvpn
 password-storage disable
 ip-comp disable
 re-xauth disable
 group-lock none
 pfs disable
 ipsec-udp disable
 ipsec-udp-port 10000
 split-tunnel-policy tunnelall
 split-tunnel-network-list none
 default-domain none
 split-dns none
 intercept-dhcp disable
 secure-unit-authentication disable
 user-authentication disable
 user-authentication-idle-timeout 30
 ip-phone-bypass disable
 leap-bypass disable
 nem disable
 backup-servers keep-client-config
 msie-proxy server none
 msie-proxy method auto-detect
 msie-proxy except-list none
 msie-proxy local-bypass disable
 nac disable
 nac-sq-period 300
 nac-reval-period 36000
 nac-default-acl none
 address-pools none
 smartcard-removal-disconnect enable
 client-firewall none
 client-access-rule none
  functions url-entry
  html-content-filter none
  homepage none
  keep-alive-ignore 4
  http-comp gzip
  filter none
  url-list none
  customization value DfltCustomization
  port-forward none
  port-forward-name value Application Access
  sso-server none
  deny-message value Login was successful, but because certain criteria have not been met or due to some specific group policy, you do not have permission to use any of the VPN features. Contact your IT administrator for more information
  svc none
  svc keep-installer installed
  svc keepalive none
  svc rekey time none
  svc rekey method none
  svc dpd-interval client none
  svc dpd-interval gateway none
  svc compression deflate
group-policy NaplesOffice internal
group-policy NaplesOffice attributes
 vpn-tunnel-protocol IPSec
username douglas password ********** encrypted privilege 0
username douglas attributes
 vpn-group-policy NaplesOffice
tunnel-group NaplesOffice type ipsec-ra
tunnel-group NaplesOffice general-attributes
 address-pool NaplesPool
 default-group-policy NaplesOffice
tunnel-group NaplesOffice ipsec-attributes
 pre-shared-key *
tunnel-group test type ipsec-ra
tunnel-group test general-attributes
 address-pool NaplesPool
 default-group-policy test
tunnel-group test ipsec-attributes
 pre-shared-key *
prompt hostname context
: end
asdm image disk0:/asdm-523.bin
no asdm history enable
Question by:damsel__in__distress
  • 5
  • 4
  • 3
  • +1
LVL 28

Accepted Solution

batry_boy earned 500 total points
ID: 20399386
If you are using the ACL named "test_splitTunnelAcl" in your testing, then change the following line:

access-list test_splitTunnelAcl standard permit any

to this:

access-list test_splitTunnelAcl standard permit ip any

This tells the firewall to only tunnel traffic destined for the network for your remote VPN traffic.
LVL 18

Expert Comment

ID: 20399394
Have you checked off "Allow Local LAN Access" within the properties of the VPN Client?

Author Comment

ID: 20399418
batry_boy - thanks for the comment.  

Yes I am using the ACL named "test....." but how do I actually change the line?  I have set up the tunnel groups etc.. using the wizards and my knowledge is very little beyond this.

Thank you.
Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.


Author Comment

ID: 20399444
simsjrg - I have tried this checked and unchecked and it makes no difference.

Author Comment

ID: 20399548

I changed the line I think - it now reads in the print out "access-list test_splitTunnelAcl standard permit"

Is that correct?
LVL 28

Expert Comment

ID: 20399630
Not this:

no access-list test_splitTunnelAcl standard permit
access-list test_splitTunnelAcl extended permit ip any

The first line deletes what you currently have and the second line puts in what should be there.  I mistakenly put "standard" instead of "extended" in my first post...sorry!

Author Closing Comment

ID: 31412460
Fantastic - thank you so much.

Author Comment

ID: 20399746

The line i edited the first time actually worked and allows internet/mail access whilst vpn'ed in.

However to edit this I had to go to the Group Policy for that Tunnel Group and edit the ACL.  It doesn't seem that I have the ability to edit text file configuration and then reload it.  I do however have a command line interface, is this where I need to be putting the lines you are providing.

Now that its working, should I still change it to your last post?
LVL 28

Expert Comment

ID: 20399821
No, if it's working with the standard access list, then I would leave it in place.

Expert Comment

ID: 20721056
Thanks batry boy, your post helped me too!

IT guy in SJ

Expert Comment

ID: 20728711
FYI, we found that our ASA 5505 (running firmware 8.0(3)) did not create the correct split tunneling access-list entry when using the Remote User VPN Wizard, even though we specified the networks to be protected.  It created:

   access-list <VPN_Name>_splitTunnelAcl standard permit any

when the correct entry is:

   access-list <VPN_Name>_splitTunnelAcl standard permit <Local_Network> <Local_Mask>

Hope this helps.

IT Guy in SJ

Expert Comment

ID: 20765446
Never mind, upon re-doing the Remote User VPN Wizard it worked fine.  The neworks to be specified were not entered correctly the first time, and upon doing it correctly it worked.  Sorry about any confusion.

IT Guy in SJ
LVL 28

Expert Comment

ID: 20765558
Glad you got it working!  Wish I had a nickel for every time I've done that!

Featured Post

Surfing Is Meant To Be Done Outdoors

Featuring its rugged IP67 compliant exterior and delivering broad, fast, and reliable Wi-Fi coverage, the AP322 is the ideal solution for the outdoors. Manage this AP with either a Firebox as a gateway controller, or with the Wi-Fi Cloud for an expanded set of management features

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Certifications 8 40
Windows routing: allowing Internet and L2TP VPN simultaneously. 2 52
auto connect vpn 17 59
VLAN Questions 3 18
OpenVPN is a great open source VPN server that is capable of providing quick and easy VPN access to your network on the cheap.  By default the software is configured to allow open access to your network.  But what if you want to restrict users to on…
How to set-up an On Demand, IPSec, Site to SIte, VPN from a Draytek Vigor Router to a Cyberoam UTM Appliance. A concise guide to the settings required on both devices
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 …
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

726 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