Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Nov 1995 12:23:11 +0100 (MET)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        scrappy@hub.org (Marc G. Fournier)
Cc:        geoff@ginsu.com, freebsd-hackers@freebsd.org
Subject:   Re: Building a gateway
Message-ID:  <199511171123.MAA15731@uriah.heep.sax.de>
In-Reply-To: <Pine.BSF.3.91.951116235638.6449F-100000@hub.org> from "Marc G. Fournier" at Nov 16, 95 11:57:27 pm

next in thread | previous in thread | raw e-mail | index | archive | help
As Marc G. Fournier wrote:
> 
> Have you enabled GATEWAY in the kernel?  If memory serves, you need
> to add:
> 
> options GATEWAY

Nope.  This is deprecated.  Use

	sysctl -w net.inet.ip.forwarding=1

at run-time instead of building a special kernel.

In 2.1, all you need to do is changing

# If you want this host to be a gateway, set to YES.
gateway=NO

in /etc/sysconfig.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199511171123.MAA15731>