cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
266
Views
0
Helpful
1
Replies

Cisco Pix 501 Please help vpn traffic bypass

Eric Boadu
Level 1
Level 1

I want users on 192.168.x.0 to aloud ONLY 216.x.x.2 traffic out. but the rest are going via the vpn tunnel. see below config.please help

PIX Version 6.3(3)

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 vpntraffic permit ip 192.168.x.0 255.255.255.0 any

access-list nonat deny ip 192.168.x.0 255.255.255.0 host 216.x.x.2

access-list nonat permit ip 192.168.x.0 255.255.255.0 any

pager lines 24

mtu outside 1500

mtu inside 1500

ip address outside 216.64.x.x 255.255.255.248

ip address inside 192.168.x.x 255.255.255.0

ip audit info action alarm

ip audit attack action alarm

pdm logging informational 100

pdm 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 0 0

route outside 0.0.0.0 0.0.0.0 216.6x.x.x 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 uauth 0:05:00 absolute

aaa-server TACACS+ protocol tacacs+

aaa-server RADIUS protocol radius

aaa-server LOCAL protocol local

no snmp-server location

no snmp-server contact

snmp-server community public

no snmp-server enable traps

floodguard enable

sysopt connection permit-ipsec

crypto ipsec transform-set city-atl esp-3des esp-md5-hmac

crypto map VPN 10 ipsec-isakmp

crypto map VPN 10 match address vpntraffic

crypto map VPN 10 set peer 12.16.x.x

crypto map VPN 10 set transform-set city-atl

crypto map VPN interface outside

isakmp enable outside

isakmp key ******** address 12.16.x.x netmask 255.255.255.255

isakmp policy 10 authentication pre-share

isakmp policy 10 encryption 3des

isakmp policy 10 hash md5

isakmp policy 10 group 2

isakmp policy 10 lifetime 86400

telnet timeout 5

ssh x.x.x.x 255.255.255.248 outside

ssh x.x.x.x 255.255.255.248 outside

ssh x.x.x.x 255.255.255.240 outside

ssh 10.x.0.0 255.255.0.0 outside

ssh 10.x.0.0 255.255.0.0 outside

ssh 12.16.x.x 255.255.255.248 outside

ssh 192.168.x.0 255.255.255.0 inside

ssh timeout 5

console timeout 0

terminal width 80

Cryptochecksum:xxx

: end

Second config:

access-list nonat deny ip 192.168.x.0 255.255.255.0 host 10.2.0.6

access-list secrets permit ip 192.168.x.0 255.255.255.0 host 216.48.x.x

access-list secrets permit ip any host 216.48.x.x

no nat (inside) 1 0.0.0.0 0.0.0.0 0 0

nat (inside) 1 access-list secrets

Let me know your advise. Please help with best and thanks in advance.

thx

1 Reply 1

Eric Boadu
Level 1
Level 1

For you all who did not reply my problem thank you. I found the correct statement and everything is resolved.

thx