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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cisco Pix 501 VPN - Wrong Gateway Help

Status
Not open for further replies.

M4cc45

Technical User
Feb 20, 2007
4
GB
Hi All

I have a Cisco Pix 501 which I have configured to allow VPN connections via the Cisco VPN Client.

Everything works fine - apart from the fact that the wrong gateway is displayed meaning that to do anything I have to Remote Desktop into the PC. Ideally I would like to have the ability to use anything connected via the VPN link to be part of the network thus allowing it to connect to exchange, etc.

I can't seem to find anywhere via the PDM to change the gateway it goes through.

Can anyone help?

Thanks!


M.
 
I'm not quit sure what you mean by "displaying wrong gateway", if everything is ok then that should include the route as well, when you say RDP to the machine are you doing this via the VPN tunnel or over the net directly to the server.

can you please paste you VPN configuration here, obviously remove any sensitive details

 
Hi,

As you will probably guess with my next response I am not too familiar with the Cisco devices - thus I don't know how to get it to print out the config.

What I mean is that when I connect to the VPN via Cisco VPN the IP is like this:

IP: 10.10.0.70 (Correct)
Subnet: 255.255.255.0 (Correct)
Gateway: 10.10.0.1 (Incorrec this points to a server - should be 10.10.0.253)

DNS: 10.10.0.3 (Correct)

If you tell me the command to get the config (though I'll google it now) I'll gladly copy it here.



M.
 
Ignore the above. Found the command it's obvious really.. you will notice below lots of IP's with 192.168 (this is the old range) which need to be changed/removed. I have put (wrong IP) next to them and also theres some users on there for the VPN part which I can't see in the PDM which need to be removed.



Result of firewall command: "show config"

: Saved
: Written by enable_15 at 09:34:53.820 UTC Tue Feb 20 2007
PIX Version 6.3(1)
interface ethernet0 auto
interface ethernet1 100full
nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password JJU5BATu8b3wevLt encrypted
passwd 2KFQnbNIdI.2KYOU encrypted
hostname pix
domain-name headoffice.algebra.local
fixup protocol ftp 21
fixup protocol h323 h225 1720
fixup protocol h323 ras 1718-1719
fixup protocol http 80
fixup protocol ils 389
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
names
name 192.168.0.6 ITSERVER01 (wrong IP)
access-list inside_outbound_nat0_acl permit ip any 192.168.0.0 255.255.255.192 (wrong IP)
access-list acl_outside permit tcp any interface outside eq 8080
access-list outside_access_in remark Rule to allow port inside
access-list outside_access_in permit tcp any interface outside eq 7000
access-list outside_access_in remark Rule to allow uTorrent inside
access-list outside_access_in permit tcp any interface outside eq 8000
access-list outside_cryptomap_dyn_20 permit ip any 192.168.0.0 255.255.255.192 (wrong IP)
access-list inbound permit icmp any any
pager lines 24
logging history notifications
mtu outside 1500
mtu inside 1500
ip address outside dhcp setroute retry 4
ip address inside 10.10.0.253 255.255.255.0
ip audit info action alarm
ip audit attack action alarm
ip local pool VPN_Pool 192.168.0.30-192.168.0.35
pdm location 192.168.0.8 255.255.255.255 inside (wrong IP)
pdm location 192.168.0.0 255.255.255.192 outside (wrong IP)
pdm location 192.168.0.1 255.255.255.255 inside (wrong IP)
pdm location 192.168.0.45 255.255.255.255 inside (wrong IP)
pdm location ITSERVER01 255.255.255.255 inside
pdm location 10.10.0.8 255.255.255.255 inside
pdm logging notifications 100
pdm history enable
arp timeout 14400
global (outside) 10 interface
nat (inside) 0 access-list inside_outbound_nat0_acl
nat (inside) 10 0.0.0.0 0.0.0.0 0 0
static (inside,outside) tcp interface 7000 192.168.0.8 7000 netmask 255.255.255.255 0 0 (wrong IP)
static (inside,outside) tcp interface 8000 192.168.0.45 8000 netmask 255.255.255.255 0 0 (wrong IP)
access-group outside_access_in in interface outside
timeout xlate 3:00: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
http server enable
http 192.168.0.8 255.255.255.255 inside (wrong IP)
http 10.10.0.8 255.255.255.255 inside
http 10.10.0.253 255.255.255.255 inside
snmp-server host inside 192.168.0.8 (wrong IP)
snmp-server location Business Solutions
snmp-server contact Carl
snmp-server community public
no snmp-server enable traps
floodguard enable
sysopt connection permit-ipsec
sysopt connection permit-pptp
crypto ipsec transform-set ESP-DES-MD5 esp-des 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-DES-MD5
crypto map outside_map 65535 ipsec-isakmp dynamic outside_dyn_map
crypto map outside_map client authentication LOCAL
crypto map outside_map interface outside
isakmp enable outside
isakmp policy 20 authentication pre-share
isakmp policy 20 encryption des
isakmp policy 20 hash md5
isakmp policy 20 group 2
isakmp policy 20 lifetime 86400
vpngroup Administrators address-pool VPN_Pool
vpngroup Administrators dns-server 192.168.0.3 62.69.64.134 (wrong IP)
vpngroup Administrators default-domain headoffice.algebra.local
vpngroup Administrators idle-time 1800
vpngroup Administrators password ********
telnet 192.168.0.0 255.255.255.0 inside (wrong IP)
telnet timeout 5
ssh 192.168.0.0 255.255.255.0 inside (wrong IP)
ssh timeout 5
console timeout 0
vpdn group PPTP-VPDN-GROUP accept dialin pptp
vpdn group PPTP-VPDN-GROUP ppp authentication mschap
vpdn group PPTP-VPDN-GROUP ppp encryption mppe 40 required
vpdn group PPTP-VPDN-GROUP client configuration address local VPN_Pool
vpdn group PPTP-VPDN-GROUP client configuration dns 192.168.0.7
vpdn group PPTP-VPDN-GROUP pptp echo 300
vpdn group PPTP-VPDN-GROUP client authentication local
vpdn username john.smith password ******** (where the heck did this come from?)
vpdn username john.smith password ******** (where the heck did this come from?)
vpdn username john.smith password ******** (where the heck did this come from?)
vpdn username john.smith password ******** (where the heck did this come from?)
vpdn enable outside
username correct password cceiNv4L4ZDm7JXj encrypted privilege 15
username correct password aGjOyM6kykxsh5dK encrypted privilege 3
username correct password HLQrSUf0OeBA6ntA encrypted privilege 3
username correct password PiRdBPqzDqOSVtcl encrypted privilege 3
username correct password Dff6HbH3Icy4kCf8 encrypted privilege 3
username correct password W0bHUFU4dTcEMsoR encrypted privilege 3
username correct password cSYK9U87nidpQVQh encrypted privilege 3
vpnclient server 192.168.0.253 (wrong IP)
vpnclient mode client-mode
vpnclient vpngroup Administrators password ********
vpnclient username Administrator password ********
terminal width 80
banner exec
banner login
banner
Cryptochecksum:cbed289af456ebaaba2b2471d91a6f9d
 
Ignore the config above I've changed a few settings and it's now this:

Result of firewall command: "show config"

: Saved
: Written by me at 12:10:40.146 UTC Thu Feb 22 2007
PIX Version 6.3(1)
interface ethernet0 auto
interface ethernet1 100full
nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password JJU5BATu8b3wevLt encrypted
passwd 2KFQnbNIdI.2KYOU encrypted
hostname pix
domain-name headoffice.algebra.local
fixup protocol ftp 21
fixup protocol h323 h225 1720
fixup protocol h323 ras 1718-1719
fixup protocol http 80
fixup protocol ils 389
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
names
access-list outside_access_in remark Rule to allow port inside
access-list outside_access_in permit tcp any host 10.10.0.8 eq 7000
access-list acl_outside permit tcp any interface outside eq 8080
access-list inbound permit icmp any any
pager lines 24
logging history notifications
mtu outside 1500
mtu inside 1500
ip address outside dhcp setroute retry 4
ip address inside 10.10.0.253 255.255.255.0
ip audit info action alarm
ip audit attack action alarm
ip local pool VPN 10.10.0.75-10.10.0.100
pdm location 10.10.0.8 255.255.255.255 inside
pdm logging notifications 100
pdm history enable
arp timeout 14400
global (outside) 10 interface
nat (inside) 10 0.0.0.0 0.0.0.0 0 0
static (inside,outside) 10.10.0.8 10.10.0.8 netmask 255.255.255.255 0 0
access-group outside_access_in in interface outside
timeout xlate 3:00: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
http server enable
http 10.10.0.8 255.255.255.255 inside
http 10.10.0.253 255.255.255.255 inside
snmp-server location Business Solutions
snmp-server contact Me
snmp-server community public
no snmp-server enable traps
floodguard enable
sysopt connection permit-ipsec
sysopt connection permit-pptp
crypto ipsec transform-set ESP-DES-MD5 esp-des esp-md5-hmac
crypto dynamic-map outside_dyn_map 20 set transform-set ESP-DES-MD5
crypto map outside_map 65535 ipsec-isakmp dynamic outside_dyn_map
crypto map outside_map client authentication LOCAL
crypto map outside_map interface outside
isakmp enable outside
isakmp policy 20 authentication pre-share
isakmp policy 20 encryption des
isakmp policy 20 hash md5
isakmp policy 20 group 2
isakmp policy 20 lifetime 86400
vpngroup Administrators address-pool VPN
vpngroup Administrators dns-server 10.10.0.3
vpngroup Administrators default-domain headoffice.algebra.local
vpngroup Administrators idle-time 1800
vpngroup Administrators password ********
telnet 10.10.0.8 255.255.255.255 inside
telnet timeout 5
ssh 10.10.0.8 255.255.255.255 inside
ssh timeout 5
console timeout 0
username correct password cceiNv4L4ZDm7JXj encrypted privilege 15
username correct password aGjOyM6kykxsh5dK encrypted privilege 3
username correct password HLQrSUf0OeBA6ntA encrypted privilege 3
username correct password PiRdBPqzDqOSVtcl encrypted privilege 3
username correct password Dff6HbH3Icy4kCf8 encrypted privilege 3
username correct password W0bHUFU4dTcEMsoR encrypted privilege 3
username correct password cSYK9U87nidpQVQh encrypted privilege 3
vpnclient server 192.168.0.253 (incorrect)
vpnclient mode client-mode
vpnclient vpngroup Administrators password ********
vpnclient username Administrator password ********
terminal width 80
banner exec
Cryptochecksum:9d48434d09b229008863fc902ff73d96
 
The first thing I would change is the IP pool for the VPN users


Code:
no ip local pool VPN 10.10.0.75-10.10.0.100
ip local pool VPN 192.268.250.1-192.168.250.254

access-list nonat permit ip 10.10.0.0 255.255.255.0 192.268.250.0 255.255.255.0

nat (inside) 0 access-list nonat

You might also want to enable split-tunnel so you can have access to both the net and your local network whilst you have the tunnel up

Hope that helps


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top