VPN is working, but I have lost Internet connection

Hi,

I have two PIX 501. Both of them have clients on the LAN side. The firewall?s are connected with a VPN tunnel and this tunnel is working. But? None of the clients are able to enter the Internet. I suppose it has something to do with routing or NAT.

Please give me some hints?

This is PIX 1

-------------------------------------------------------------------------------------- Building configuration... : Saved : PIX Version 6.3(5) interface ethernet0 auto interface ethernet1 100full nameif ethernet0 outside security0 nameif ethernet1 inside security100 enable password E6t6.cLtg6sHqCMD encrypted passwd gm/sGexxiArFZm9B encrypted hostname PIX1 domain-name ciscopix.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 any access-list outside_cryptomap_20 permit ip any any access-list allow_inbound permit tcp host 2xx.1xx.42.2 interface outside eq 3389 access-list allow_inbound permit tcp host 8x.1xx.241.242 interface outside eq 3389 pager lines 24 mtu outside 1500 mtu inside 1500 ip address outside 2xx.1xx.42.25 255.255.255.192 ip address inside 192.168.1.1 255.255.255.0 ip audit info action alarm ip audit attack action alarm pdm location 2xx.1xx.42.2 255.255.255.255 outside pdm location 192.168.2.0 255.255.255.0 outside pdm location 192.168.3.0 255.255.255.0 outside pdm location 192.168.4.0 255.255.255.0 outside pdm location 192.168.1.2 255.255.255.255 inside pdm location 8x.1xx.241.242 255.255.255.255 outside pdm location 192.168.1.100 255.255.255.255 inside pdm logging informational 100 pdm history enable arp timeout 14400 global (outside) 1 interface nat (inside) 0 access-list inside_outbound_nat0_acl nat (inside) 1 0.0.0.0 0.0.0.0 0 0 static (inside,outside) tcp interface 3389 192.168.1.2 3389 netmask

255.255.255.255 0 0 access-group allow_inbound in interface outside route outside 0.0.0.0 0.0.0.0 213.150.42.1 1 route outside 192.168.2.0 255.255.255.0 80.164.234.34 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 LOCAL protocol local http server enable http 2xx.1xx.42.2 255.255.255.255 outside http 192.168.1.0 255.255.255.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 crypto ipsec transform-set ESP-3DES-MD5 esp-3des esp-md5-hmac crypto map outside_map 20 ipsec-isakmp crypto map outside_map 20 match address outside_cryptomap_20 crypto map outside_map 20 set peer 8x.1xx.234.34 crypto map outside_map 20 set transform-set ESP-3DES-MD5 crypto map outside_map interface outside isakmp enable outside isakmp key ******** address 8x.1xx.234.34 netmask 255.255.255.255 no-xauth no-config-mode 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 telnet 2xx.1xx.42.2 255.255.255.255 outside telnet 192.168.1.0 255.255.255.0 inside telnet timeout 5 ssh timeout 5 management-access inside console timeout 0 dhcpd address 192.168.1.100-192.168.1.120 inside dhcpd dns 195.184.96.2 213.173.225.86 dhcpd lease 3600 dhcpd ping_timeout 750 dhcpd auto_config outside dhcpd enable inside terminal width 80 Cryptochecksum:10eb26ed67a06e2f9e88dd78d6a6a440 : end [OK]

This is PIX 2

--------------------------------------------------------------------- Building configuration... : Saved : PIX Version 6.3(5) interface ethernet0 auto interface ethernet1 100full nameif ethernet0 outside security0 nameif ethernet1 inside security100 enable password E6t6.cLtg6sHqCMD encrypted passwd gm/sGexxiArFZm9B encrypted hostname PIX2 domain-name ciscopix.com clock timezone CEST 1 clock summer-time CEDT recurring last Sun Mar 2:00 last Sun Oct 3:00 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 any access-list outside_cryptomap_20 permit ip any any pager lines 24 icmp permit any outside icmp permit any inside mtu outside 1500 mtu inside 1500 ip address outside 8x.1xx.234.34 255.255.255.252 ip address inside 192.168.2.1 255.255.255.0 ip audit info action alarm ip audit attack action alarm pdm location 192.168.2.0 255.255.255.0 inside pdm location 2xx.1xx.42.2 255.255.255.255 outside pdm location 192.168.1.0 255.255.255.0 inside pdm location 192.168.3.0 255.255.255.0 inside pdm location 192.168.1.0 255.255.255.0 outside pdm logging informational 100 pdm history enable arp timeout 14400 global (outside) 1 interface nat (inside) 0 access-list inside_outbound_nat0_acl nat (inside) 1 0.0.0.0 0.0.0.0 0 0 route outside 0.0.0.0 0.0.0.0 8x.1xx.234.34 1 route outside 192.168.1.0 255.255.255.0 213.150.42.25 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 LOCAL protocol local http server enable http 2xx.1xx.42.2 255.255.255.255 outside http 192.168.2.0 255.255.255.0 inside http 192.168.1.0 255.255.255.0 inside http 192.168.3.0 255.255.255.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 crypto ipsec transform-set ESP-3DES-MD5 esp-3des esp-md5-hmac crypto map outside_map 20 ipsec-isakmp crypto map outside_map 20 match address outside_cryptomap_20 crypto map outside_map 20 set peer 2xx.1xx.42.25 crypto map outside_map 20 set transform-set ESP-3DES-MD5 crypto map outside_map interface outside isakmp enable outside isakmp key ******** address 2xx.1xx.42.25 netmask 255.255.255.255 no-xauth no-config-mode 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 telnet 2xx.1xx.42.2 255.255.255.255 outside telnet 192.168.2.0 255.255.255.0 inside telnet timeout 20 ssh timeout 5 management-access inside console timeout 0 dhcpd address 192.168.2.200-192.168.2.220 inside dhcpd dns 194.239.134.83 193.162.153.164 dhcpd lease 3600 dhcpd ping_timeout 750 dhcpd auto_config outside dhcpd enable inside terminal width 80 Cryptochecksum:047417d9eeda75f50d5695b02d3128e4 : end [OK]

Best Regards Martin

Reply to
wee
Loading thread data ...

Your inside_outbound_nat0_acl permits any to any, so this nat 0 is applying to ALL traffic, not just traffic intended for the tunnel. You need to narrow inside_outbound_nat0_acl to only permit the traffic to the other side.

Your outside_cryptomap_20 permits any to any, so this match address statement tells the PIX to send *all* traffic over the VPN. You need to narrow outside_cryptomap_20 to only permit the traffic to the other side.

Same problems for this configuration as above. This does, though, add enough information that we can write the correct entries for you.

For PIX 1:

access-list inside_outbound_nat0_acl permit ip 192.168.1.1 255.255.255.0

192.168.2.1 255.255.255.0 access-list inside_outbound_nat0_acl permit ip 192.168.1.1 255.255.255.0 192.168.2.1 255.255.255.0

For PIX 2:

access-list inside_outbound_nat0_acl permit ip 192.168.2.1 255.255.255.0

192.168.1.1 255.255.255.0 access-list inside_outbound_nat0_acl permit ip 192.168.2.1 255.255.255.0 192.168.1.1 255.255.255.0
Reply to
Walter Roberson

Cabling-Design.com Forums website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.