ip6tables-compat-restore
iptables compat tools for nftables
Install
- All systems
-
curl cmd.cat/ip6tables-compat-restore.sh
- Debian
-
apt-get install iptables-nftables-compat
- Ubuntu
-
apt-get install iptables-nftables-compat
- Fedora
-
dnf install iptables-compat
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install iptables-nftables-compat
- Raspbian
-
apt-get install iptables-nftables-compat
- Dockerfile
- dockerfile.run/ip6tables-compat-restore
iptables-nftables-compat
iptables compat tools for nftables
this 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.