Date: Sat, 8 Feb 1997 10:27:35 +1100 (EST) From: "Daniel O'Callaghan" <danny@panda.hilink.com.au> To: Robert Chalmers <robert@nanguo.chalmers.com.au> Cc: bsd <freebsd-questions@freebsd.org>, FreeBSD ISP <freebsd-isp@freebsd.org> Subject: Re: ipforwarding no longer in GENERIC or LINT? Message-ID: <Pine.BSF.3.91.970208102352.427f-100000@panda.hilink.com.au> In-Reply-To: <199702072243.IAA02694@nanguo.chalmers.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 8 Feb 1997, Robert Chalmers wrote: > I don't see ipforwarding (gateway) in either LINT or GENERIC on > the > 2.2-961014-SNAP FreeBSD 2.2-961014-SNAP #0: > kernel anymore ? > > Do I presume that having gateway=YES in sysconfig is all thats needed now? The kernel option IPFORWARDING/GATEWAY is no longer available or required. IP forwarding is controlled by the sysctl variable net.inet.ip.forwarding. Setting "gateway=YES" in /etc/sysconfig makes /etc/netstart execute the command 'sysctl -w net.inet.ip.forwarding=1', which enables IP forwarding. You can disable it at runtime, if you desire, with the command # sysctl -w net.inet.ip.forwarding=0 Now to go back and answer your previous e-mail, which I read but did not have time to reply to... :-) Danny
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.970208102352.427f-100000>