[ale] vpn and dns

Wandered Inn esoteric at denali.atlnet.com
Tue Feb 20 08:40:23 EST 2001


David Corbin wrote:
> 
> Wandered Inn wrote:
> >
> > Anyone using any type of vpn with Linux?  How do I set the dns server
> > values?  Can you have different DNS for different interfaces?

> I use vtun for my VPN.   What are you trying to do with your DNS, get
> "normal public" hosts, and ones that are internal to your VPN
> destination?  I just set up my own DNS server, and have it slave the
> private ones, and forward the others just like normal.  It's not hard.

Just trying to get the private ones.  Problem is, I don't think the
'powers that be' will provide the dns info.  I've made progress though. 
It appears it was a routing issue.  I added a route that looks like
this:

Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface

default         remote IP       0.0.0.0         UG    0      0        0
ppp0

Where 'remote ip' is the ip address of the server ppp0 is connecting
too.  Problem now is that I can only get to a subset of machines on the
vpn.  I think it has something to do with the IP addresses though.  The
'remote ip' of the ppp0 server begins with 135.  I can telnet to
machines that are in my /etc/hosts file that begin with 135, but there
are others that begin with 192 and I can not get to those.  I've left my
DNS entries set to the internal DNS entries (which begin with 135 as
well).

Anyone see what I'm missing here?  My expectation was that all the
requests would go through the default gateway above as there are no
other routing entries that would pick up the 192 ip addresses.  It's not
using dns either, since the machines I'm trying to connect to are found
in my /etc/hosts files.

The is great, though, as I'll be able to stick with Linux for my
corporate network connectivity.  I need to resolve this last issue
though.

Thanks for any assistance.


--
Until later: Geoffrey		esoteric at denali.atlnet.com

"Great spirits have always found violent opposition from mediocre minds.
The
latter cannot understand it when a man does not thoughtlessly submit to
hereditary prejudices but honestly and courageously uses his
intelligence."
- Albert Einstein
--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.





More information about the Ale mailing list