[H-GEN] Setting gateway and dns in debian

Robert Brockway robert at timetraveller.org
Wed Sep 24 14:23:28 EDT 2003


[ Humbug *General* list - semi-serious discussions about Humbug and     ]
[ Unix-related topics. Posts from non-subscribed addresses will vanish. ]

On Thu, 25 Sep 2003, Paul Clarke wrote:

> I have installed a snapgear VPN Router. Prior to that I had the debian
> box accessing the internet via an xp box.
> How do I configure the debian box to use the snapgear as the gateway?

Look in /etc/network/interfaces.  See the interfaces man page:
interfaces(1) for info on the format.

> According to the snapgear manual I also need to configure all connected
> PC's with my ISP's DNS, again where do I do this. The snapgear manual

As long as you aren't pickup up stuff via DHCP (which I'd say you aren't)
you can modify the nameservers in /etc/resolv.conf.  Follow the pattern
already there. If DHCP is in use it will modify this file.

> only describes the process for win boxes :(

Amusing considering Snapgear (based in Brissie, btw) use Linux on their
boxes.

Rob

-- 
Robert Brockway B.Sc. email: robert at timetraveller.org, zzbrock at uqconnect.net
Linux counter project ID #16440 (http://counter.li.org)
"The earth is but one country and mankind its citizens" -Baha'u'llah

--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'.  See http://www.humbug.org.au/



More information about the General mailing list