Solved

ASA 5505 Split Tunneling Issue

Posted on 2007-03-19
2
2,044 Views
Last Modified: 2012-05-05
I am having a very interesting issue with our ASA 5505.  After hours of troubleshooting here is what I finally figured out is going on.
Basically I setup a client VPN and enabled split tunneling for access to the local network.
When I connect to the VPN and I look in the local routing table of a machine that is connecting in, it will list the gateway of the asa with a higher metric than the split tunneled gateway.
The weird thing is that it will sometimes work..   When it is working properly, the other gateway is listed first like it should be.
Hopefully all of that made sense.
Here is my config..

pnetfw1# sh run
: Saved
:
ASA Version 7.2(2)
!
hostname pnetfw1
domain-name default.domain.invalid
enable password vS2IOBQWprXYBVhr encrypted
names
!
interface Vlan1
 nameif inside
 security-level 100
 ip address 10.20.20.1 255.255.255.0
!
interface Vlan2
 nameif outside
 security-level 0
 ip address x.x.x.x 255.255.255.224
!
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
clock timezone CDT -6
clock summer-time CDT recurring
dns server-group DefaultDNS
 domain-name default.domain.invalid
same-security-traffic permit intra-interface
access-list NONAT extended permit ip any 10.20.20.0 255.255.255.0
access-list TEST_VPN1 extended permit ip 10.20.20.0 255.255.255.0 any
access-list SPLIT_LIST standard permit any
access-list ICMP extended permit icmp any any
pager lines 24
logging enable
logging asdm informational
mtu inside 1500
mtu outside 1500
ip local pool VPNPOOL1 10.20.20.230-10.20.20.235 mask 255.255.255.0
ip local pool VPNPOOL2 10.20.20.201-10.20.20.240 mask 255.255.255.0
icmp unreachable rate-limit 1 burst-size 1
icmp permit any outside
asdm image disk0:/asdm-522.bin
no asdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 0 access-list NONAT
nat (inside) 1 0.0.0.0 0.0.0.0
nat (outside) 1 access-list TEST_VPN1
route outside 0.0.0.0 0.0.0.0 x.x.x.x 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
group-policy PNETVPN1 internal
group-policy PNETVPN1 attributes
 dns-server value 204.117.214.10
 vpn-tunnel-protocol IPSec
 password-storage enable
 split-tunnel-policy tunnelspecified
 split-tunnel-network-list value SPLIT_LIST

aaa authentication ssh console LOCAL
http server enable
http 10.20.20.0 255.255.255.0 inside
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart
crypto ipsec transform-set TS1 esp-3des esp-md5-hmac
crypto dynamic-map DYN1 20 set pfs
crypto dynamic-map DYN1 20 set transform-set TS1
crypto map OUT_MAP 65535 ipsec-isakmp dynamic DYN1
crypto map OUT_MAP interface outside
crypto isakmp enable outside
crypto isakmp policy 10
 authentication pre-share
 encryption 3des
 hash md5
 group 2
 lifetime 86400
crypto isakmp nat-traversal  20
tunnel-group PNETVPN1 type ipsec-ra
tunnel-group PNETVPN1 general-attributes
 address-pool VPNPOOL1
 default-group-policy PNETVPN1
tunnel-group PNETVPN1 ipsec-attributes
 pre-shared-key *


!
class-map inspection_default
 match default-inspection-traffic
!
!
policy-map type inspect dns preset_dns_map
 parameters
  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
prompt hostname context
Cryptochecksum:5dd42e391e21d5b1663d79f8232bf786
: end
 

Local Routing Table:
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0       10.20.20.1    10.20.20.235       1 - asa
          0.0.0.0          0.0.0.0      172.21.1.10     172.21.2.18       10 - split tunneled gateway (172.21.1.10)
       10.20.20.0    255.255.255.0     10.20.20.235    10.20.20.235       10
     10.20.20.235  255.255.255.255        127.0.0.1       127.0.0.1       10
   10.255.255.255  255.255.255.255     10.20.20.235    10.20.20.235       10
        127.0.0.0        255.0.0.0        127.0.0.1       127.0.0.1       1
       172.21.0.0      255.255.0.0      172.21.2.18     172.21.2.18       10
       172.21.0.0      255.255.0.0       10.20.20.1    10.20.20.235       10
      172.21.2.18  255.255.255.255        127.0.0.1       127.0.0.1       10
      172.21.10.1  255.255.255.255      172.21.2.18     172.21.2.18       1
   172.21.255.255  255.255.255.255      172.21.2.18     172.21.2.18       10
    x.x.x.x        255.255.255.255      172.21.1.10     172.21.2.18       1
        224.0.0.0        240.0.0.0     10.20.20.235    10.20.20.235       10
        224.0.0.0        240.0.0.0      172.21.2.18     172.21.2.18       10
  255.255.255.255  255.255.255.255     10.20.20.235    10.20.20.235       1
  255.255.255.255  255.255.255.255      172.21.2.18     172.21.2.18       1
Default Gateway:        10.20.20.1 - asa (when working it will be 172.21.1.10)
===========================================================================
Persistent Routes:
  None
0
Comment
Question by:Paisley-Consulting
2 Comments
 
LVL 28

Accepted Solution

by:
batry_boy earned 250 total points
ID: 18752202
Try changing your split tunnel ACL to an extended ACL and explicitly specify the inside network in the list, like this:

access-list SPLIT_LIST extended permit ip 10.20.20.0 255.255.255.0 any

See if this helps any...it would essentially look like the TEST_VPN1 ACL.
0
 

Author Comment

by:Paisley-Consulting
ID: 18755915
Wow..   Can't believe I missed that..   Seems very obvious now..   Have no idea why I had put in there that way.   That worked great.
Thanks for your help.
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
OSX Server Users/VPN? 3 57
IOS for 2811 2 68
RDP connection error 5 35
AnyConnect - VPN server list 2 20
Do you have an old router lying around the house that you don’t know what to do with? Check the make and model, then refer to either of these links to see if its compatible. http://www.dd-wrt.com/site/support/router-database http://www.dd-wrt.c…
I've written this article to illustrate how we can implement a Dynamic Multipoint VPN (DMVPN) with both hub and spokes having a dynamically assigned non-broadcast multiple-access (NBMA) network IP (public IP). Here is the basic setup of DMVPN Pha…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

758 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

24 Experts available now in Live!

Get 1:1 Help Now