*BSD News Article 58368


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!newsfeed.internetmci.com!news.mathworks.com!fu-berlin.de!zrz.TU-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: Help w/internet gate
Date: 28 Dec 1995 10:14:46 GMT
Organization: Private BSD site, Dresden
Lines: 17
Message-ID: <4btqmm$555@uriah.heep.sax.de>
References: <DK9u8q.HKA@pgh.nauticom.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.3

ebush@pgh.nauticom.net (Eric Bush) writes:

> Has anyone successfully installed and tested FreeBSD to act as an internet
> gateway for other machines on a local net? I have been trying to get the 
> FreeBSD box to act as a gateway with no luck.

For FreeBSD 2.1, set "gateway=YES" in /etc/sysconfig.

For FreeBSD < 2.1, add "sysctl -nw net.inet.ip.forwarding=1" manually
somewhere, e.g. in /etc/netstart.

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