Re: ipfw: setsockopt(IP_FW_NAT44_XCONFIG): Invalid argument
Date: Sun, 12 Sep 2021 10:51:38 UTC
The command is root@gw:/home/tyv # ipfw nat 1 config ip XXX.XXX.XXX.xx reset unreg_only same_ports ipfw nat 1 config ip 195.138.73.206 same_ports unreg_only reset root@gw:/home/tyv # Цитирую "Alexander V. Chernikov" <melifaro@ipfw.ru>: >> 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 >> >> -- -- Yuri Tcherkasov E-Mail: tyv@uats.od.ua