Iptables-translate Step by Step Installation in Linux Terminal
Install iptables-translate
-
Debian
apt-get install iptablesClick to copy -
Ubuntu
apt-get install iptables-nftables-compatClick to copy -
Alpine OS
apk add iptablesClick to copy -
Arch Linux
pacman -S iptablesClick to copy -
Kali Linux
apt-get install iptablesClick to copy -
CentOS
yum install iptablesClick to copy -
Fedora
dnf install iptablesClick to copy -
Raspbian
apt-get install iptables-nftables-compatClick to copy
iptables
administration tools for packet filtering and NATiptables is the userspace command line program used to configure the Linux packet filtering ruleset. It is targeted towards system administrators. Since Network Address Translation is also configured from the packet filter ruleset, iptables is used for this, too. The iptables package also includes ip6tables. ip6tables is used for configuring the IPv6 packet filter
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.




