macOS
brew install iptableslocal Homebrew formula metadata
brew
Linux kernel packet control tool. Version 1.8.13 via Homebrew; verified from local package data.
install
brew install iptableslocal Homebrew formula metadata
sudo apk add iptablesAlpine Linux edge package indexes · iptables · source: dl-cdn.alpinelinux.org
sudo apt install iptablesDebian stable package indexes · iptables · source: deb.debian.org
sudo dnf install iptables-develFedora Rawhide package metadata · iptables-devel · source: dl.fedoraproject.org
nix profile install nixpkgs#iptablesnixpkgs package indexes · pkgs/by-name/ip/iptables/package.nix · source: api.github.com
sudo pacman -S iptablesArch Linux sync databases · iptables · source: geo.mirror.pkgbuild.com
sudo zypper install iptablesopenSUSE Tumbleweed package metadata · iptables · source: download.opensuse.org
overview
Linux kernel packet control tool
history
iptables is the long-lived user-space command family for controlling Linux packet filtering, NAT, and mangling rules through the netfilter framework. It sits at the intersection of kernel networking, firewall administration, and distribution packaging, with companion commands such as ip6tables, arptables, ebtables, restore/save tools, and nft translation frontends.
The netfilter project was founded by Paul "Rusty" Russell as a redesign of the Linux 2.2 ipchains and Linux 2.0 ipfwadm firewall systems. Netfilter's own project history describes the late-1999 design work by Russell and Marc Boucher that generalized iptables and produced the multiple-table framework that became the filter, nat, and mangle modules.
iptables became the administrative surface for the Linux 2.4 era of packet filtering. The project grew alongside connection tracking, NAT helpers, userspace queueing, IPv6 work through ip6tables, and later the xtables command family that collected IPv4, IPv6, ARP, and Ethernet bridge filtering tools under related interfaces.
The iptables 1.8 series marked the nftables transition period by shipping both legacy xtables commands and nft-backed variants such as iptables-nft, ip6tables-nft, arptables-nft, ebtables-nft, and translation tools. That made iptables both a historic interface and a migration bridge to nftables.
iptables was adopted broadly because it arrived with the Linux kernel's netfilter subsystem and offered a scriptable firewall language that distributions, hosting providers, routers, container stacks, and security appliances could automate. Its save/restore format made rulesets easy to ship in init scripts and configuration management.
The package remains visible in package-manager culture because many Linux systems, compatibility scripts, and container/networking components still know the iptables command vocabulary even when the underlying backend is nftables. Homebrew's package metadata also exposes the full command family for macOS users who need the Linux-compatible tooling.
Typical use centers on creating chains and rules for packet filtering, network address translation, port forwarding, connection-state matching, and firewall persistence with iptables-save and iptables-restore. Administrators also use iptables-translate and iptables-restore-translate when moving legacy rule sets toward nftables.
The package is Linux-specific in purpose: on non-Linux systems it is mostly useful for packaging, cross-development, documentation, or compatibility workflows rather than native packet filtering.
For package nerds, iptables is one of the canonical examples of a small command-line package whose real meaning comes from the kernel ABI underneath it. Its packaging has to preserve many executable names because shell scripts, orchestration tools, and documentation often reference exact command variants.
It is also a transition fossil: one package contains legacy commands, nft-backed commands, multi-call binaries, and translation helpers, making it a compact map of two generations of Linux firewall administration.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
arptables | cli | global executable | |
arptables-nft | cli | global executable | |
arptables-nft-restore | cli | global executable | |
arptables-nft-save | cli | global executable | |
arptables-restore | cli | global executable | |
arptables-save | cli | global executable | |
arptables-translate | cli | global executable | |
ebtables | cli | global executable | |
ebtables-nft | cli | global executable | |
ebtables-nft-restore | cli | global executable | |
ebtables-nft-save | cli | global executable | |
ebtables-restore | cli | global executable | |
ebtables-save | cli | global executable | |
ebtables-translate | cli | global executable | |
ip6tables | cli | global executable | |
ip6tables-apply | cli | global executable | |
ip6tables-legacy | cli | global executable | |
ip6tables-legacy-restore | cli | global executable | |
ip6tables-legacy-save | cli | global executable | |
ip6tables-nft | cli | global executable | |
ip6tables-nft-restore | cli | global executable | |
ip6tables-nft-save | cli | global executable | |
ip6tables-restore | cli | global executable | |
ip6tables-restore-translate | cli | global executable | |
ip6tables-save | cli | global executable | |
ip6tables-translate | cli | global executable | |
iptables | cli | global executable | |
iptables-apply | cli | global executable | |
iptables-legacy | cli | global executable | |
iptables-legacy-restore | cli | global executable | |
iptables-legacy-save | cli | global executable | |
iptables-nft | cli | global executable | |
iptables-nft-restore | cli | global executable | |
iptables-nft-save | cli | global executable | |
iptables-restore | cli | global executable | |
iptables-restore-translate | cli | global executable | |
iptables-save | cli | global executable | |
iptables-translate | cli | global executable | |
iptables-xml | cli | global executable | |
nfbpf_compile | cli | global executable | |
nfnl_osf | cli | global executable | |
xtables-legacy-multi | cli | global executable | |
xtables-monitor | cli | global executable | |
xtables-nft-multi | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://www.netfilter.org/projects/iptables/index.html
install metadata
| Package key | brew:iptables |
|---|---|
| Version | 1.8.13 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/iptables |
| Homepage | https://www.netfilter.org/projects/iptables/index.html |
| Repository | https://git.netfilter.org/iptables |
| Upstream docs | https://www.netfilter.org/documentation/index.html |
| License | GPL-2.0-or-later |
| Source archive | https://www.netfilter.org/pub/iptables/iptables-1.8.13.tar.xz |
| Dependencies | libmnl, libnetfilter_conntrack, libnfnetlink, libnftnl, libpcap, nftables |
| Build dependencies | pkgconf |
| Bottle | available (on arm64_linux, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | iptables |
| Version Scheme | 0 |
| Revision | 0 |
| Requirements |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
iptables 1.8.11-2
administration tools for packet filtering and NAT
sudo apt install iptableslibip4tc-dev 1.8.11-2
Development files for libip4tc
sudo apt install libip4tc-devlibip4tc2 1.8.11-2
netfilter libip4tc library
sudo apt install libip4tc2libip6tc-dev 1.8.11-2
Development files for libip6tc
sudo apt install libip6tc-devlibip6tc2 1.8.11-2
netfilter libip6tc library
sudo apt install libip6tc2libiptc-dev 1.8.11-2
Common development files for libiptc
sudo apt install libiptc-devlibxtables-dev 1.8.11-2
netfilter xtables library -- development files
sudo apt install libxtables-devlibxtables12 1.8.11-2
netfilter xtables library
sudo apt install libxtables12iptables
nix profile install nixpkgs#iptablesiptables 1.8.10-3ubuntu2
administration tools for packet filtering and NAT
sudo apt install iptableslibip4tc-dev 1.8.10-3ubuntu2
Development files for libip4tc
sudo apt install libip4tc-devlibip4tc2 1.8.10-3ubuntu2
netfilter libip4tc library
sudo apt install libip4tc2libip6tc-dev 1.8.10-3ubuntu2
Development files for libip6tc
sudo apt install libip6tc-devlibip6tc2 1.8.10-3ubuntu2
netfilter libip6tc library
sudo apt install libip6tc2libiptc-dev 1.8.10-3ubuntu2
Common development files for libiptc
sudo apt install libiptc-devlibxtables-dev 1.8.10-3ubuntu2
netfilter xtables library -- development files
sudo apt install libxtables-devsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.