Iptables-compat-restore
Install iptables-compat-restore
-
Debian
apt-get install iptables-nftables-compat
Click to copy -
Ubuntu
apt-get install iptables-nftables-compat
Click to copy -
Fedora
dnf install iptables-compat
Click to copy -
Raspbian
apt-get install iptables-nftables-compat
Click to copy
iptables-nftables-compat
iptables compat tools for nftablesthis package includes the compat tools to load iptables, ip6tables, arptables and ebtables rules to the nf_tables kernel subsystem. The tools are called: 'iptables-compat', 'iptables-compat-save', 'iptables-compat-restore', 'ip6tables-compat', 'ip6tables-compat-save', 'ip6tables-compat-restore', 'arptables-compat' and 'ebtables-compat'. A basic way to understand this compat stuff is to load the ruleset skeleton, i.e: a first call `iptables-compat -L'. Then, you can use nft, i.e: `nft list ruleset'. Same for the other families. Also, this package contains the translation tools, which are 'iptables-translate', 'ip6tables-translate', 'iptables-restore-translate', and 'ip6tables-restore-translate'. These translation tools works by reading an input in iptables native syntax and then printing the nftables syntax equivalent.