Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Oct 2007 15:34:11 -0700
From:      Chuck Swiger <cswiger@mac.com>
To:        ivand58@hotpop.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: How do I enable IP forwarding?
Message-ID:  <166D0BCF-3B1D-4A7B-BBC4-74C336A125B9@mac.com>
In-Reply-To: <47192865.1080008@gmail.com>
References:  <47192865.1080008@gmail.com>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?166D0BCF-3B1D-4A7B-BBC4-74C336A125B9>