Subject: Re: Configuring IP forwarding
To: David Laight <david@nohope.l8s.co.uk>
From: Andrew Gillham <gillham@vaultron.com>
List: tech-net
Date: 01/18/2002 13:55:43
On Fri, Jan 18, 2002 at 09:33:43PM +0000, David Laight wrote:
> Where is the 'usual' place to configure ip forwarding (for ipv4)?
> 
> Clearly issueing 'sysctl -w net.inet.ip.forwarding=1' has the correct
> effect and /etc/rc.d/network will set ip6.forwarding (from ip6mode in
> rc.conf), but where should I configure it for ip4 (indeed where did I do
> in on my 1.5.2 system)?

Add it to /etc/sysctl.conf.

-Andrew