From owner-freebsd-questions Sun Apr 28 00:26:22 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id AAA13694 for questions-outgoing; Sun, 28 Apr 1996 00:26:22 -0700 (PDT) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id AAA13689 for ; Sun, 28 Apr 1996 00:26:20 -0700 (PDT) Received: from msmith@localhost by genesis.atrad.adelaide.edu.au (8.6.12/8.6.9) id QAA10839; Sun, 28 Apr 1996 16:55:20 +0930 From: Michael Smith Message-Id: <199604280725.QAA10839@genesis.atrad.adelaide.edu.au> Subject: Re: Turning off IP forwarding To: craigs@venus.os.com (Craig Shrimpton) Date: Sun, 28 Apr 1996 16:55:19 +0930 (CST) Cc: questions@FreeBSD.ORG In-Reply-To: from "Craig Shrimpton" at Apr 27, 96 07:39:04 pm MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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 [[