Re: ipfw: setsockopt(IP_FW_NAT44_XCONFIG): Invalid argument
Thanx very much Цитирую "Alexander V. Chernikov" : On 12 Sep 2021, at 11:51, Yuri Tcherkasov wrote: ipfw nat 1 config ip XXX.XXX.XXX.xx reset unreg_only same_ports Looks pretty close to https://reviews.freebsd.org/D23450 <https://reviews.freebsd.org/D23450> I guess rebuilding the ipfw(8) binary should help. -- -- Yuri Tcherkasov E-Mail: t...@uats.od.ua
Re: ipfw: setsockopt(IP_FW_NAT44_XCONFIG): Invalid argument
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" : On 12 Sep 2021, at 06:52, Yuri Tcherkasov 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: t...@uats.od.ua -- -- Yuri Tcherkasov E-Mail: t...@uats.od.ua
Re: ipfw: setsockopt(IP_FW_NAT44_XCONFIG): Invalid argument
Thanx, i try. Цитирую "Alexander V. Chernikov" : On 12 Sep 2021, at 06:52, Yuri Tcherkasov 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: t...@uats.od.ua -- -- Yuri Tcherkasov E-Mail: t...@uats.od.ua
Re: ipfw: setsockopt(IP_FW_NAT44_XCONFIG): Invalid argument
Thanx, i try. Цитирую "Alexander V. Chernikov" : On 12 Sep 2021, at 06:52, Yuri Tcherkasov 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: t...@uats.od.ua -- -- Yuri Tcherkasov E-Mail: t...@uats.od.ua
ipfw: setsockopt(IP_FW_NAT44_XCONFIG): Invalid argument
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 options ROUTETABLES=2 and recompile it. After normaly recompile can't configure ipfw nat with error ipfw: setsockopt(IP_FW_NAT44_XCONFIG): Invalid argument 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: t...@uats.od.ua