Iptables-restore-translate

Iptables-restore-translate

iptables-restore-translate

administration tools for packet filtering and NAT

Maintainer: Debian Netfilter Packaging Team



Section: net

Install iptables-restore-translate

  • Debian apt-get install iptables Click to copy
  • Ubuntu apt-get install iptables-nftables-compat Click to copy
  • Alpine OS apk add iptables Click to copy
  • Arch Linux pacman -S iptables Click to copy
  • Kali Linux apt-get install iptables Click to copy
  • CentOS yum install iptables Click to copy
  • Fedora dnf install iptables Click to copy
  • Raspbian apt-get install iptables-nftables-compat Click to copy

iptables

administration tools for packet filtering and NAT

iptables 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 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.

iptables-nft

Linux kernel packet control tool (using nft interface)

iptables-compat

arptables and ebtables
Installation of latest iptables-restore-translate command is available for Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora and Raspbian. You can copy the command for your OS from above and paste it into your terminal. Once you run the command it will download the 2026 latest package from the repository and install it in your computer/server.