How do I enable IP forwarding?

Erik Osterholm freebsd-lists-erik at erikosterholm.org
Fri Oct 19 15:36:42 PDT 2007


On Fri, Oct 19, 2007 at 03:34:11PM -0700, Chuck Swiger wrote:
> Hi, Ivan--
> 
> On Oct 19, 2007, at 2:57 PM, Ivan Dimitrov wrote:
> >   How do I enable IP forwarding? (on freeBSD 6.2)
> 
> On a temporary basis:
> 
>   sysctl net.inet.ip.forwarding=1
> 
> ...or if you want to make that config permanent:
> 
>   echo 'gateway_enable="NO"' >> /etc/rc.conf
> 
> -- 
> -Chuck

Shouldn't that be "YES" instead of "NO"?

Erik


More information about the freebsd-questions mailing list