Date: Sun, 12 Sep 2021 13:51:38 +0300 From: Yuri Tcherkasov <tyv@uats.od.ua> To: "Alexander V. Chernikov" <melifaro@ipfw.ru> Cc: freebsd-current@freebsd.org Subject: Re: ipfw: setsockopt(IP_FW_NAT44_XCONFIG): Invalid argument Message-ID: <20210912135138.Horde.jU7HSS-HXDDbodinjUouo3z@uats.od.ua> In-Reply-To: <FECD31FC-5FBE-4B1C-AECD-ED391C2FC272@ipfw.ru> References: <20210912085251.Horde.dJZ_ni5aqZJvfo8nNMVOcBL@uats.od.ua> <FECD31FC-5FBE-4B1C-AECD-ED391C2FC272@ipfw.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210912135138.Horde.jU7HSS-HXDDbodinjUouo3z>