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!

Can't resolve DNS with remote VPN - PIX

Status
Not open for further replies.

jme77

IS-IT--Management
Jan 22, 2006
7
US
Hello,

I've setup our PIX 501 to accept remote VPN connections using the Cisco VPN client (v4.8.0). The client is configured for local LAN access. I can connect fine and access our office lan, but my laptop cannot resolve domain names while connected (I can access anything with an IP however). Here is my PIX config:

Code:
: Saved
:
PIX Version 6.3(5)
interface ethernet0 10baset
interface ethernet1 100full
nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password xxxx encrypted
passwd xxxx encrypted
hostname pix
domain-name blah.com
clock timezone EST -5
clock summer-time EDT recurring
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 xxxx webserver
name 10.0.2.0 remote1
name 192.168.5.0 remote2

access-list 101 remark Linux Webserver
access-list 101 permit tcp any host webserver eq www 
access-list 101 permit tcp any host webserver eq ssh 
access-list 101 permit tcp any host webserver eq 8080 
access-list inside_outbound_nat0_acl permit ip 192.168.1.0 255.255.255.0 site1 255.255.255.0 
access-list inside_outbound_nat0_acl permit ip 192.168.1.0 255.255.255.0 site2 255.255.255.0 
access-list inside_outbound_nat0_acl permit ip any 192.168.2.0 255.255.255.248 
access-list outside_cryptomap_20 permit ip 192.168.1.0 255.255.255.0 site1 255.255.255.0 
access-list outside_cryptomap_40 permit ip 192.168.1.0 255.255.255.0 site2 255.255.255.0 
access-list remote_splitTunnelAcl permit ip any any 
access-list outside_cryptomap_dyn_40 permit ip any 192.168.2.0 255.255.255.248
 
pager lines 24
logging on
logging console errors
logging buffered informational
mtu outside 1500
mtu inside 1500


ip address outside xxxx 255.255.255.248
ip address inside 192.168.1.1 255.255.255.0
ip audit info action alarm
ip audit attack action alarm
ip local pool remotepool 192.168.2.1-192.168.2.5

pdm location 192.168.1.0 255.255.255.255 inside
pdm location 192.168.1.5 255.255.255.255 inside
pdm location webserver 255.255.255.255 outside
pdm location 0.0.0.0 255.255.255.248 outside
pdm location site1 255.255.255.0 outside
pdm location xxxx 255.255.255.0 outside
pdm location site2 255.255.255.0 outside
pdm location xxxx 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
static (inside,outside) webserver 192.168.1.5 dns netmask 255.255.255.255 0 0 
access-group 101 in interface outside
rip outside default version 1
route outside 0.0.0.0 0.0.0.0 208.47.88.98 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 
aaa authentication ssh console LOCAL
aaa authentication telnet console LOCAL
http server enable
http xxxx 255.255.255.0 outside
http xxxx 255.255.255.0 outside
http xxxx 255.255.255.0 inside
snmp-server host inside 192.168.1.5 poll
snmp-server location Office
snmp-server contact xxxx
snmp-server community public
no snmp-server enable traps
floodguard enable

sysopt connection permit-ipsec
sysopt connection permit-pptp

crypto ipsec transform-set ESP-3DES-MD5 esp-3des esp-md5-hmac 
crypto dynamic-map outside_dyn_map 20 set transform-set ESP-3DES-MD5
crypto dynamic-map outside_dyn_map 40 match address outside_cryptomap_dyn_40
crypto dynamic-map outside_dyn_map 40 set transform-set ESP-3DES-MD5
crypto map outside_map 20 ipsec-isakmp
crypto map outside_map 20 match address outside_cryptomap_20
crypto map outside_map 20 set peer xxxx
crypto map outside_map 20 set transform-set ESP-3DES-MD5
crypto map outside_map 40 ipsec-isakmp
crypto map outside_map 40 match address outside_cryptomap_40
crypto map outside_map 40 set peer xxxx
crypto map outside_map 40 set transform-set ESP-3DES-MD5
crypto map outside_map 65535 ipsec-isakmp dynamic outside_dyn_map
crypto map outside_map interface outside

isakmp enable outside
isakmp key ******** address xxxx netmask 255.255.255.255 no-xauth no-config-mode 
isakmp key ******** address xxxx netmask 255.255.255.255 no-xauth no-config-mode 
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 28800
isakmp policy 40 authentication pre-share
isakmp policy 40 encryption 3des
isakmp policy 40 hash md5
isakmp policy 40 group 2
isakmp policy 40 lifetime 86400

vpngroup remote address-pool remotepool
vpngroup remote dns-server xxxx xxxx
vpngroup remote split-tunnel remote_splitTunnelAcl
vpngroup remote idle-time 1800
vpngroup remote password ********

telnet 0.0.0.0 0.0.0.0 inside
telnet timeout 15
ssh xxxx 255.255.255.0 outside
ssh xxxx 255.255.255.0 outside
ssh 0.0.0.0 0.0.0.0 inside
ssh timeout 15
console timeout 0 
dhcpd address 192.168.1.10-192.168.1.100 inside
dhcpd dns xxxx xxxx
dhcpd lease 3600
dhcpd ping_timeout 750
dhcpd enable inside

username xxxx password xxxx encrypted privilege 5
username xxxx password xxx encrypted privilege 15
terminal width 80
Cryptochecksum:547a5506ab18e757fb30aa3eda8c8dff
: end

Any ideas?

Thanks,
jme
 
what DNS have you got on your laptop, is this pointing to a DNS server on the LAN, or on the Internet?
 
I was testing this on a dialup connection, so the DNS servers were configured from the ISP. We have no DNS servers on our LAN. For the vpn group I hand out the same DNS servers used on our lan.

jme
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top