python-iptables icon indicating copy to clipboard operation
python-iptables copied to clipboard

is nftable not supported?

Open Yorklandian opened this issue 2 years ago • 1 comments

My iptables has the following version iptables v1.8.7 (nf_tables) After running code in the example, no changes can be observed via "iptables -t XXX -nvL". Instead ,rules are added to iptable-legacy which can be seen via "iptables-legacy -t XXX -nvL". Does this mean I can NOT AT ALL modify iptables with nf_tables backend with this package?

Yorklandian avatar Jan 03 '24 07:01 Yorklandian

According to ldx response in #319 indeed, python-iptables works only with iptables-legacy. As nf_tables is now widely included by default in recents linux version, it would be great to have a python-iptables nf_tables compatible.

Cyanat avatar Jul 09 '24 09:07 Cyanat