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

VPN/DNS

Status
Not open for further replies.

vargas71

IS-IT--Management
Jun 30, 2003
27
CA
Hi,

here's my problem...when I connected with the VPN Client to the pix, I can ping and see the server by their ip address but not by name...

I know there's a problem with the DNS...but I don't know what...

Can someone help me???

Here's my config:

PIX Version 6.2(2)
nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password uMkEBR86ltsraI4J encrypted
passwd 2KFQnbNIdI.2KYOU encrypted
hostname pixfirewall
domain-name biotonix.com
fixup protocol ftp 21
fixup protocol http 80
fixup protocol h323 h225 1720
fixup protocol h323 ras 1718-1719
fixup protocol ils 389
fixup protocol rsh 514
fixup protocol rtsp 554
fixup protocol smtp 25
fixup protocol sqlnet 1521
fixup protocol sip 5060
fixup protocol skinny 2000
names
access-list 101 permit ip any any
access-list 201 permit udp any any eq domain
pager lines 24
logging buffered debugging
logging trap debugging
interface ethernet0 auto
interface ethernet1 auto
mtu outside 1500
mtu inside 1500
ip address outside x.x.16.30 255.255.255.0
ip address inside x.x.244.10 255.255.255.0
ip audit info action alarm
ip audit attack action alarm
ip local pool test x.x.244.100-x.x.244.130
pdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 1 0.0.0.0 0.0.0.0 0 0
static (inside,outside) x.x.16.22 x.x.244.3 netmask 255.255.255.255 0 0
static (inside,outside) x.x.16.23 x.x.244.5 netmask 255.255.255.255 0 0
static (inside,outside) x.x.16.21 x.x.244.4 netmask 255.255.255.255 0 0
access-group 201 in interface outside
route outside 0.0.0.0 0.0.0.0 x.x.16.1 1
timeout xlate 3:00:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 rpc 0:10:00 h323 0:05:00 si
p 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
no sysopt route dnat
crypto ipsec transform-set myset esp-des esp-md5-hmac
crypto dynamic-map dynmap 10 set transform-set myset
crypto map mymap 10 ipsec-isakmp dynamic dynmap
crypto map mymap interface outside
isakmp enable outside
isakmp identity address
isakmp policy 10 authentication pre-share
isakmp policy 10 encryption des
isakmp policy 10 hash md5
isakmp policy 10 group 2
isakmp policy 10 lifetime 86400
vpngroup xxxxxxxxxx address-pool test
vpngroup xxxxxxxxxx dns-server x.x.244.3
vpngroup xxxxxxxxxx wins-server x.x.244.3
vpngroup xxxxxxxxxx default-domain biotonix.com
vpngroup xxxxxxxxxx split-tunnel 101
vpngroup xxxxxxxxxx idle-time 1800
vpngroup xxxxxxxxxx password ********
telnet timeout 5
ssh timeout 5
terminal width 80
Cryptochecksum:37e9a3635fb5169d3200d05a473c5a79
: end
[OK]


Hope you can help me!!!

Thanks in advance!!!
 
Well, what DNS are you trying to query? I cannot tell that valuable piece of info by this config.
 
The primary DNS server is x.x.244.3 and the secondary is x.x.244.2 and their in the inside of the network.

Thanks!!
 
HI.

There is an option called "split DNS".
I have never used it, but maybe it can help you.

> default-domain biotonix.com
If you are using the same domain name for internal network and on the Internet, this can cause problems, for example:
The client looks for host:
host.biotonix.com
Before initiating VPN connection, and get a resolved IP address x.x.x.x which is the public address of "host".
This is cached at the client RAM.
Now the client initiates a VPN connection, but whatever you do, host.biotonix.com still maps to x.x.x.x until the DNS cache at the client times-out or cleared by a reboot.

I don't know if that is the issue here, but you should remember that DNS is cached at the client.

Bye


Yizhar Hurwitz
 
HI.

> access-list 101 permit ip any any
> vpngroup xxxxxxxxxx split-tunnel 101
This seems wrong to me.
If you wish to use split-tunnel, then you should specify the internal network in access-list 101.
If want VPN clients to have access to the internal network only when connected, then simply do not use split-tunnel.


Yizhar Hurwitz
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top