10.2-RELEASE not forwarding packets/NATing with pf

Mike Tancsa mike at sentex.net
Thu Sep 3 13:30:08 UTC 2015


On 9/3/2015 7:49 AM, Sergey Grigorian wrote:
>
> And here's /etc/sysctl.conf:
> 
> net.inet.ip.forwarding=1
>

Hi,
	This does not work the way it might have in the past. Make sure you set
gateway_enable="YES"
in /etc/rc.conf
otherwise, devd and /etc/rc.d/routing will reset net.inet.ip.forwarding
to 0 on certain network events.

	---Mike




-- 
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, mike at sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/


More information about the freebsd-questions mailing list