Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Nov 2002 23:10:44 +0000
From:      Ceri Davies <setantae@submonkey.net>
To:        Andrew Brampton <andrew@bramp.freeserve.co.uk>
Cc:        freebsd-questions@FreeBSD.org
Subject:   Re: gateway_enable="YES" without a restart
Message-ID:  <20021103231044.GA5819@submonkey.net>
In-Reply-To: <0a1c01c2838d$97e1cbe0$0300a8c0@andrew>
References:  <0a1c01c2838d$97e1cbe0$0300a8c0@andrew>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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