Date: Thu, 25 Aug 2022 13:49:31 +0700 From: Eugene Grosbein <eugen@grosbein.net> To: Wojciech Puchar <wojtek@puchar.net>, freebsd-hackers@freebsd.org Subject: Re: ipfw nat problem Message-ID: <bfa7d65a-95d6-1605-8fb0-cf397b79d549@grosbein.net> In-Reply-To: <623ac39e-2915-463a-9e4c-9f99bae28c69@puchar.net> References: <d36e56ff-c7cd-1634-dbc-f76bdb46503c@puchar.net> <623ac39e-2915-463a-9e4c-9f99bae28c69@puchar.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bfa7d65a-95d6-1605-8fb0-cf397b79d549>