Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pleae help me with Split-Tunneling

Status
Not open for further replies.

kcbs76

MIS
Nov 1, 2005
19
CA
I hope this post will not go answered too. I have finally setup IPSec tunnel for vpn clients. My problems is that they get disconnected from the LAN and can't access the internet or any local site. I have read many post that I need to enable split-tunneling. I have created the following two commands but it does not work. I am going to post my actuall config, please let me know what I am doing wrong. I am sure my access-lists are not correct. Thank you all in advance.

These are the two lines I used with the config and did not work.

access-list split permit ip any 172.20.2.0 255.255.255.128
vpngroup testvpngroup split-tunnel split

This is my config (I have deleted these two lines from it)

PIX Version 6.3(5)
interface ethernet0 auto
interface ethernet1 auto
nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password hp1123tsxcU8wMse encrypted
passwd 2KFQnbNIdI.2KYOU encrypted
hostname testpix
domain-name testcomm.com
fixup protocol dns maximum-length 512
fixup protocol ftp 21
fixup protocol h323 h225 1720
fixup protocol h323 ras 1718-1719
fixup protocol http 80
fixup protocol rsh 514
fixup protocol rtsp 554
fixup protocol sip 5060
fixup protocol sip udp 5060
fixup protocol skinny 2000
fixup protocol smtp 25
fixup protocol sqlnet 1521
fixup protocol tftp 69
names
access-list inside_outbound_nat0_acl permit ip any 172.20.2.0 255.255.255.128
access-list outside_cryptomap_dyn_20 permit ip any 172.20.2.0 255.255.255.128
pager lines 24
icmp permit any outside
mtu outside 1500
mtu inside 1500
ip address outside xx.xx.xx.55 255.255.255.248
ip address inside 172.20.2.3 255.255.0.0
ip audit info action alarm
ip audit attack action alarm
ip local pool vpn_pool 172.20.2.50-172.20.2.100
pdm location 172.20.0.15 255.255.255.255 inside
pdm logging informational 100
pdm history enable
arp timeout 14400
global (outside) 1 interface
route outside 0.0.0.0 0.0.0.0 64.114.29.73 1
timeout xlate 0:05:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 rpc 0:10:00 h225 1:00:00
timeout h323 0:05:00 mgcp 0:05:00 sip 0:30:00 sip_media 0:02:00
timeout sip-disconnect 0:02:00 sip-invite 0:03:00
timeout uauth 0:05:00 absolute
aaa-server TACACS+ protocol tacacs+
aaa-server TACACS+ max-failed-attempts 3
aaa-server TACACS+ deadtime 10
aaa-server RADIUS protocol radius
aaa-server RADIUS max-failed-attempts 3
aaa-server RADIUS deadtime 10
aaa-server RADIUS (inside) host 172.20.0.15 xxxxxxxxx timeout 10
aaa-server LOCAL protocol local
http server enable
http 172.20.0.0 255.255.0.0 inside
no snmp-server location
no snmp-server contact
snmp-server community public
no snmp-server enable traps
floodguard enable
sysopt connection permit-ipsec
sysopt connection permit-l2tp
sysopt ipsec pl-compatible
crypto ipsec transform-set ESP-3DES-MD5 esp-3des esp-md5-hmac
crypto dynamic-map outside_dyn_map 20 match address outside_cryptomap_dyn_20
crypto dynamic-map outside_dyn_map 20 set transform-set ESP-3DES-MD5
crypto map outside_map 65535 ipsec-isakmp dynamic outside_dyn_map
crypto map outside_map client authentication RADIUS LOCAL
crypto map outside_map interface outside
isakmp enable outside
isakmp policy 20 authentication pre-share
isakmp policy 20 encryption 3des
isakmp policy 20 hash md5
isakmp policy 20 group 2
isakmp policy 20 lifetime 86400
vpngroup testvpngroup address-pool vpn_pool
vpngroup testvpngroup dns-server 172.20.0.14
vpngroup testvpngroup wins-server 172.20.0.14
vpngroup testvpngroup default-domain testcomm.com
vpngroup testvpngroup split-dns testcomm.com
vpngroup testvpngroup idle-time 1800
vpngroup testvpngroup password ********
telnet timeout 5
ssh timeout 5
console timeout 0
dhcpd address 172.20.2.50-172.20.2.100 inside
dhcpd dns 172.20.0.14
dhcpd wins 172.20.0.14
dhcpd lease 3600
dhcpd ping_timeout 750
dhcpd domain testcomm.com
dhcpd auto_config outside
dhcpd enable inside
username Jonny password kfoDfsdfdsaDHFFSowWDqr7 encrypted privilege 15
username testuser password 8MHdsfsadfW4Rl9NI6ot.RA encrypted privilege 2
terminal width 80
Cryptochecksum:01456bcc81dfb1c21f175571399eac53
: end
testpix(config)#

 
Also is there anything to be configured on the Cisco VPN Client?? I have enable where it says "Allow Local Lan Access
 
- your NAT cmd are bad (no NAT-= for ipsec)

- what is this :
crypto dynamic-map outside_dyn_map 20 match address outside_cryptomap_dyn_20

(hint get rid of it)

- do you need these:

sysopt connection permit-l2tp
sysopt ipsec pl-compatible

crypto map outside_map 65535 ipsec-isakmp dynamic outside_dyn_map

- enable isakmp nat-t

- To do tunnelsplit take this fx:
1st issue a clear crypto ips sa from conf t mode

then consider this:


ip local pool cvpn3pool 172.16.20.1-172.16.20.254
access-list CVPN-NONAT permit ip *INSIDELAN* 255.255.255.0 172.16.20.0 255.255.255.0
nat (inside) 0 access-list CVPN-NONAT

sysopt connection permit-ipsec

crypto ipsec transform-set CVPN3 esp-3des esp-md5-hmac
crypto dynamic-map dynmap 20 set transform-set CVPN3
crypto map VPN 20 ipsec-isakmp dynamic dynmap
crypto map VPN client authentication *WHATEVERYOULIKE*
crypto map VPN interface outside

isakmp enable outside
isakmp identity address
isakmp nat-traversal 20
isakmp policy 10 authentication pre-share
isakmp policy 10 encryption 3des
isakmp policy 10 hash sha
isakmp policy 10 group 2
isakmp policy 10 lifetime 86400

access-list tunnelsplit permit ip *INSIDENETWORK* *MASK* any
vpngroup *VPNGROUPNAMEHERE* split-tunnel tunnelsplit

HTH
Martin

 
Thank you Martin. I have not tried this out yet... But nice to see a response to one of my posts. I am going to redo the whole configuration with your recomendations and come back to you if success or failure. Thanks again!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top