[KLUG Members] re: Secondary DNS and VPN

Bruce Smith members@kalamazoolinux.org
20 Apr 2003 11:04:07 -0400


If you're like me, some nodes have different IP addresses depending on
when you're outside or inside the firewall.  i.e.  foo.morrison might be
23.24.25.26 outside, and 192.168.2.22 inside.  That's where the
complication arises. 

I've been using CIPE for my VPN for a week or so, and I have a script
that starts and stops the VPN.  In the script I simply copy over a
different resolv.conf that points to my inside DNS server when I start
the VPN, and copy the original one back when I stop the VPN.

--------------------------------------------
Bruce Smith                bruce@armintl.com
System Administrator / Network Administrator
Armstrong International, Inc.
Three Rivers, Michigan  49093  USA
http://www.armstrong-intl.com/
--------------------------------------------