troubleshooting Question

Cisco PIX 501 behind ADSL router problem

Avatar of treloskostas
treloskostas asked on
VPNCisco
7 Comments1 Solution413 ViewsLast Modified:
Hello everybody,

I'm having a real trouble configuring my cisco pix 501 firewall and since I am a huge fan of this very useful website I would like to ask the real  experts if they could help me on this. I am trying to setup a PIX 501 behind a US.Robotics ADSL modem/router as follows:
     
      | 221.123.xx.xx (static IP) |
      |
 -------------
| ADSL Router |
 -------------
     | 192.168.1.254 ()
     |
     |
     |
     | 192.168.1.100 (outside interface of PIX)
 -----------
| PIX 501 |
 -----------
     | 10.170.200.3 (inside interface of PIX)
     |
     |
     |                        Internal network (10.170.200.xxx)
     --------------------------------

The reason for using the PIX is that I want to setup a client-to-site VPN tunnel so every remote client can access my internal network from the internet using a cisco vpn client software.

The ADSL router is configured to port forward ports 500, 4500 and 10000 to 192.168.1.100.

I am very new to all this VPN thing so I don't know if I am doing the right usage of PIX or not... (Any other suggestions and configurations are more than welcome).

The real truth is that I have managed to get it somehow working with the following configuration but I am really facing a very unusual behavior that I will describe after reading my configuration file...

===================
| MY CONFIGURATION |
===================

interface ethernet0 auto
interface ethernet1 100full
nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password xxxxxxxxxxxxxxxx encrypted
passwd xxxxxxxxxxxxxxxxx encrypted
hostname pix
domain-name example.com
clock timezone EEST 1
clock summer-time EEDT recurring last Sun Mar 3:00 last Sun Oct 4: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
name 10.170.200.2 server1
access-list VPN_splitTunnelAcl permit ip host server1 any
access-list inside_outbound_nat0_acl permit ip host server1 10.170.200.120 255.255.255.252
access-list outside_cryptomap_dyn_20 permit ip any 10.170.200.120 255.255.255.252
access-list outside_access_in permit ip any host server1
pager lines 24
logging on
logging host inside 10.170.200.190
mtu outside 1500
mtu inside 1500
ip address outside 192.168.1.100 255.255.255.0
ip address inside 10.170.200.3 255.255.254.0
ip audit info action alarm
ip audit attack action alarm
ip local pool Vpn_Client_IPs 10.170.200.121-10.170.200.123
pdm location 10.170.200.71 255.255.255.255 inside
pdm location 10.170.200.0 255.255.255.0 inside
pdm location 10.170.200.190 255.255.255.255 inside
pdm location server1  255.255.255.255 inside
pdm location 10.170.200.120 255.255.255.252 outside
pdm logging informational 512
pdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 0 access-list inside_outbound_nat0_acl
static (inside,outside) server1 server1 netmask 255.255.255.255 0 0
access-group outside_access_in in interface outside
route outside 0.0.0.0 0.0.0.0 192.168.1.254 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
aaa-server MyLocal_Radius protocol radius
aaa-server MyLocal_Radius (inside) host 10.170.200.190 xxxxxxxxxx timeout 5
http server enable
http 10.170.200.2 255.255.255.255 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 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 MyLocal_Radius
crypto map outside_map interface outside
isakmp enable outside
isakmp identity address
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 VPNGROUP address-pool Vpn_Client_IPs
vpngroup VPNGROUP dns-server nis 10.170.200.130
vpngroup VPNGROUP wins-server 10.170.200.100
vpngroup VPNGROUP default-domain example.com
vpngroup VPNGROUP split-tunnel VPN_splitTunnelAcl
vpngroup VPNGROUP idle-time 1800
vpngroup VPNGROUP password ********
telnet 10.170.200.0 255.255.255.0 inside
telnet timeout 5
ssh 10.170.200.0 255.255.255.0 inside
ssh timeout 5
console timeout 0
terminal width 80

====================================================

Now the part that I mentioned before...

When I use a cisco vpn client version 4.7 to create a vpn connection with my remote network I have this strange behavior....... I am successfully authenticated from MyLocal RADIUS server that has an internal IP (10.170.200.190) and then I successfully get an internal IP address 10.170.200.121 with subnet mask 255.0.0.0 from the IP POOL that I configured above.....
When I try to ping "server1" (with IP 10.170.200.2)  I don't get any replies!!!!!...... I used a network sniffer to see if there is a problem on the PC running the CISCO VPN client but all of the icmp packets are sent successfully to the internal IP address 10.170.200.2 (server1) but without getting any replies from it.......
---> IF I  TRY TO  SEND AN ECHO REQUEST packet (ping) from 10.170.200.2 (server1 that is in my internal network) to the 10.170.200.121..... I suddenly get an ECHO REPLY packet from it !!!!!!

As if a miracle happened from that moment and on I can ping both ways the two machines...  <----

10.170.200.2-----pings_successfully---->10.170.200.121 and 10.170.200.121------pings_successfully--->10.170.200.2

Unfortunately if I disconnect and then reconnect, the same thing happens again untill I send a ping request from my internal IP address 10.170.200.2 to 10.170.200.121....

Can anyone explain to me why this is happening and how I can solve this problem? I have never seen something like that and I cannot troubleshoot this.... If this helps a bit, the "server1" is a plain linux workstation with no firewall running and the PC that I am trying to connect with the cisco vpn client runs on a Windows XP pro SP2 with no firewall enabled.

Thank you very much in advance.

Kostas.
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 7 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 7 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros