*BSD News Article 73902


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.ysu.edu!usenet.ins.cwru.edu!gatech!news.mathworks.com!fu-berlin.de!irz401!orion.sax.de!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Setup as Gateway
Date: 16 Jul 1996 11:18:49 GMT
Organization: Private BSD site, Dresden
Lines: 20
Message-ID: <4sftqp$meq@uriah.heep.sax.de>
References: <4serus$67i@zeus.crosslink.net>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E

moverman@crosslink.net (Marc Overman) wrote:

> I have several computers with largely varying IP addresses that I
> would like to have telnet and FTP to each other.  If I setup my
> FreeBSD box as a gateway and have them use that gateway will they be
> able to communicate?  If so, how do I setup the gateway?

Provide IP alias addresses for all the networks involved (assuming you
are using more than one logical network on the same wire).

Enable the `gateway' option in /etc/sysconfig.

Make all your clients point to the BSD machine as their default route.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)