Re: ipfw nat problem

From: Eugene Grosbein <eugen_at_grosbein.net>
Date: Thu, 25 Aug 2022 06:49:31 UTC
25.08.2022 13:36, Wojciech Puchar wrote:

> found a reason. forwarding was set to 0 in sysctl

Never set net.inet.ip.forwarding=1 manually or via /etc/sysctl.conf.

Always use gateway_enable="YES" in /etc/rc.conf, or else system scripts started with devd
on any interface creation (tunX, ngX, etc.) will switch forwarding to 0 again.