Re: ipfw nat problem

From: Wojciech Puchar <wojtek_at_puchar.net>
Date: Fri, 26 Aug 2022 10:42:11 UTC
>>> on any interface creation (tunX, ngX, etc.) will switch forwarding to 0 again.
>>
>> Well - i do create tun or other interfaces without problems. Can you point an example of this?
>
> Some scripts (f.e. from /etc/devd.conf) invoke /etc/pccard_ether $subsystem start
> (the name "pccard_ether" is just historic, it serves any cloned network interface).
>
> It runs "/etc/rc.d/netif quietstart" $ifn that runs "/etc/rc.d/routing static any $_if"
> that may reset net.inet.ip.forwarding=0 unless you have gateway_enable="YES" in /etc/rc.conf
> despite you could have set net.inet.ip.forwarding=1 via sysctl.conf.
>
>
>
>
Thanks. Fortunately i don't use devd on any servers.

Anyway - with ip.forwarding on ssh still disconnect randomly. Just after 
much larger amount of data transmitted (like 10-100MB, not <1MB)

Just on this server. Any ideas what may be wrong?