From owner-freebsd-questions Sun Nov 3 15:10:53 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6C25A37B401 for ; Sun, 3 Nov 2002 15:10:52 -0800 (PST) Received: from rhadamanth.submonkey.net (pc1-cdif2-4-cust210.cdf.cable.ntl.com [80.4.10.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B97443E42 for ; Sun, 3 Nov 2002 15:10:51 -0800 (PST) (envelope-from setantae@submonkey.net) Received: from setantae by rhadamanth.submonkey.net with local (Exim 4.10) id 188TtE-0001Wx-00; Sun, 03 Nov 2002 23:10:44 +0000 Date: Sun, 3 Nov 2002 23:10:44 +0000 From: Ceri Davies To: Andrew Brampton Cc: freebsd-questions@FreeBSD.org Subject: Re: gateway_enable="YES" without a restart Message-ID: <20021103231044.GA5819@submonkey.net> References: <0a1c01c2838d$97e1cbe0$0300a8c0@andrew> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0a1c01c2838d$97e1cbe0$0300a8c0@andrew> X-message-flag: All your linuxconf-configured redhat are belong to us. X-message-flag-attribution: suresh, sdm. User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Nov 03, 2002 at 11:06:04PM -0000, Andrew Brampton wrote: > So what command could I type, or which process could I > kill/restart so that my box will function as a gateway? Just run: sysctl net.inet.ip.forwarding=1 In general, if you're setting a variable in rc.conf and what to see what it actually does, then you can run: grep gateway_enable /etc/rc* and then look in each file to see which commands are invoked. Ceri -- Remember the mines of the legions! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message