Re: ipfw: setsockopt(IP_FW_NAT44_XCONFIG): Invalid argument

From: Alexander V. Chernikov <melifaro_at_ipfw.ru>
Date: Sun, 12 Sep 2021 10:57:35 UTC
> On 12 Sep 2021, at 06:52, Yuri Tcherkasov <tyv@uats.od.ua> wrote:
> 
> Hi
> 
> I'm binary upgrade FreeBSD from 10.2 to 13.0
> 
> After upgrate all workin well, but I need add one more routing table. So add to
> GENERIC kernel
You can add 'net.fibs=2' in the loader.conf, there is no need to recompile the kernel.
You can also set in runtime via sysctl.
> 
> options         ROUTETABLES=2
> 
> and recompile it.
> After normaly recompile can't configure ipfw nat with error
> 
> ipfw: setsockopt(IP_FW_NAT44_XCONFIG): Invalid argument
Could you share the particular command failing?

> 
> Returning original kernel instataling with upgrade resolve problem with nat but multiple route I can't use.
> 
> Anybody can help me?
> 
> Thanx!
> 
> -- 
> --
> Yuri Tcherkasov
> E-Mail:  tyv@uats.od.ua
> 
>