How do I enable IP forwarding?

Chuck Swiger cswiger at mac.com
Fri Oct 19 15:34:12 PDT 2007


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



More information about the freebsd-questions mailing list