Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Apr 1996 16:55:19 +0930 (CST)
From:      Michael Smith <msmith@atrad.adelaide.edu.au>
To:        craigs@venus.os.com (Craig Shrimpton)
Cc:        questions@FreeBSD.ORG
Subject:   Re: Turning off IP forwarding
Message-ID:  <199604280725.QAA10839@genesis.atrad.adelaide.edu.au>
In-Reply-To: <Pine.BSF.3.91.960427193518.17742B-100000@venus.os.com> from "Craig Shrimpton" at Apr 27, 96 07:39:04 pm

next in thread | previous in thread | raw e-mail | index | archive | help
Craig Shrimpton stands accused of saying:
> 
> I'm building a SOCKS firewall with FreeBSD.  I have two nic cards and it 
> seems to be working fine as a multi-homed proxy server.  I just want to 
> make sure that IP forwarding and gatewaying is indeed disabled.
> 
> Do I need to specify an option in the config file for the kernel or is IP 
> forwarding off by default?  I read about an options IPFORWARDING=-1 but 
> I'm not sure if that's for BSDI or FreeBSD.

Check the value of 'net.inet.ip.forwarding' with sysctl.  If it's 0, no
forwarding is performed.  This can be determined at startup with the
'gateway=' option in /etc/sysconfig.

> Craig

-- 
]] Mike Smith, Software Engineer        msmith@atrad.adelaide.edu.au    [[
]] Genesis Software                     genesis@atrad.adelaide.edu.au   [[
]] High-speed data acquisition and      (GSM mobile) 0411-222-496       [[
]] realtime instrument control          (ph/fax)  +61-8-267-3039        [[
]] Collector of old Unix hardware.      "Where are your PEZ?" The Tick  [[



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