*BSD News Article 67620


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.bhp.com.au!mel.dit.csiro.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!serv.hinet.net!nctuccca.edu.tw!howland.reston.ans.net!newsfeed.internetmci.com!news.kei.com!nntp.coast.net!fu-berlin.de!zib-berlin.de!news.tu-chemnitz.de!irz401!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: setting up a gateway on FreeBSD 2.1
Date: 3 May 1996 16:47:42 GMT
Organization: Private FreeBSD site, Dresden
Lines: 18
Message-ID: <4mddbe$hqu@uriah.heep.sax.de>
References: <3184ff35.410003@victoria.pe.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

iyuh@victoria.pe.net writes:

>How do I setup a gateway on FreeBSD?

ed /etc/sysconfig <<EOF
/^gateway/s/NO/YES/
w
q
EOF

Well, you actually also need to define a second IP interface...

-- 
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. ;-)