pkg.soopen package index

brew / 排名 5927

使用 Homebrew, apk, apt, Nix, pacman, zypper, dnf 安装 iptables

查看 iptables 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install iptables

local Homebrew formula metadata

Linux

Alpine Linux apk已验证 · 92%
sudo apk add iptables

Alpine Linux edge package indexes · iptables · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install iptables

Debian stable package indexes · iptables · 来源: deb.debian.org

Nix已验证 · 92%
nix profile install nixpkgs#iptables

nixpkgs package indexes · pkgs/by-name/ip/iptables/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S iptables

Arch Linux sync databases · iptables · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install iptables

openSUSE Tumbleweed package metadata · iptables · 来源: download.opensuse.org

Fedora dnf已验证 · 92%
sudo dnf install iptables-devel

Fedora Rawhide package metadata · iptables-devel · 来源: dl.fedoraproject.org

概览

软件包摘要

Linux kernel packet control tool

命令和别名

  • arptables
  • arptables-nft
  • arptables-nft-restore
  • arptables-nft-save
  • arptables-restore
  • arptables-save
  • arptables-translate
  • ebtables
  • ebtables-nft
  • ebtables-nft-restore
  • ebtables-nft-save
  • ebtables-restore
  • ebtables-save
  • ebtables-translate
  • ip6tables
  • ip6tables-apply
  • ip6tables-legacy
  • ip6tables-legacy-restore
  • ip6tables-legacy-save
  • ip6tables-nft
  • ip6tables-nft-restore
  • ip6tables-nft-save
  • ip6tables-restore
  • ip6tables-restore-translate
  • ip6tables-save
  • ip6tables-translate
  • iptables
  • iptables-apply
  • iptables-legacy
  • iptables-legacy-restore
  • iptables-legacy-save
  • iptables-nft

历史

项目历史与用法

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.

时间线

  • 1999: Netfilter core design work generalized iptables and the filter, nat, and mangle table model.
  • 2000: Netfilter and iptables work was prepared for inclusion with Linux 2.4.
  • 2001: Linux 2.4 made netfilter/iptables the standard Linux firewall framework.
  • 2018: iptables 1.8 introduced the nft-backed command variants as part of the nftables migration path.
  • 2026: Netfilter news records continued iptables 1.8 maintenance releases.

Related projects

  • iptables is closely related to netfilter kernel hooks, nftables, libnftnl, conntrack-tools, ipset, ulogd, arptables, ebtables, and the older ipchains and ipfwadm systems it replaced.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
arptables可执行文件已索引可执行文件从本地可执行文件索引发现。
arptables-nft可执行文件已索引可执行文件从本地可执行文件索引发现。
arptables-nft-restore可执行文件已索引可执行文件从本地可执行文件索引发现。
arptables-nft-save可执行文件已索引可执行文件从本地可执行文件索引发现。
arptables-restore可执行文件已索引可执行文件从本地可执行文件索引发现。
arptables-save可执行文件已索引可执行文件从本地可执行文件索引发现。
arptables-translate可执行文件已索引可执行文件从本地可执行文件索引发现。
ebtables可执行文件已索引可执行文件从本地可执行文件索引发现。
ebtables-nft可执行文件已索引可执行文件从本地可执行文件索引发现。
ebtables-nft-restore可执行文件已索引可执行文件从本地可执行文件索引发现。
ebtables-nft-save可执行文件已索引可执行文件从本地可执行文件索引发现。
ebtables-restore可执行文件已索引可执行文件从本地可执行文件索引发现。
ebtables-save可执行文件已索引可执行文件从本地可执行文件索引发现。
ebtables-translate可执行文件已索引可执行文件从本地可执行文件索引发现。
ip6tables可执行文件已索引可执行文件从本地可执行文件索引发现。
ip6tables-apply可执行文件已索引可执行文件从本地可执行文件索引发现。
ip6tables-legacy可执行文件已索引可执行文件从本地可执行文件索引发现。
ip6tables-legacy-restore可执行文件已索引可执行文件从本地可执行文件索引发现。
ip6tables-legacy-save可执行文件已索引可执行文件从本地可执行文件索引发现。
ip6tables-nft可执行文件已索引可执行文件从本地可执行文件索引发现。
ip6tables-nft-restore可执行文件已索引可执行文件从本地可执行文件索引发现。
ip6tables-nft-save可执行文件已索引可执行文件从本地可执行文件索引发现。
ip6tables-restore可执行文件已索引可执行文件从本地可执行文件索引发现。
ip6tables-restore-translate可执行文件已索引可执行文件从本地可执行文件索引发现。
ip6tables-save可执行文件已索引可执行文件从本地可执行文件索引发现。
ip6tables-translate可执行文件已索引可执行文件从本地可执行文件索引发现。
iptables可执行文件已索引可执行文件从本地可执行文件索引发现。
iptables-apply可执行文件已索引可执行文件从本地可执行文件索引发现。
iptables-legacy可执行文件已索引可执行文件从本地可执行文件索引发现。
iptables-legacy-restore可执行文件已索引可执行文件从本地可执行文件索引发现。
iptables-legacy-save可执行文件已索引可执行文件从本地可执行文件索引发现。
iptables-nft可执行文件已索引可执行文件从本地可执行文件索引发现。
iptables-nft-restore可执行文件已索引可执行文件从本地可执行文件索引发现。
iptables-nft-save可执行文件已索引可执行文件从本地可执行文件索引发现。
iptables-restore可执行文件已索引可执行文件从本地可执行文件索引发现。
iptables-restore-translate可执行文件已索引可执行文件从本地可执行文件索引发现。
iptables-save可执行文件已索引可执行文件从本地可执行文件索引发现。
iptables-translate可执行文件已索引可执行文件从本地可执行文件索引发现。
iptables-xml可执行文件已索引可执行文件从本地可执行文件索引发现。
nfbpf_compile可执行文件已索引可执行文件从本地可执行文件索引发现。
nfnl_osf可执行文件已索引可执行文件从本地可执行文件索引发现。
xtables-legacy-multi可执行文件已索引可执行文件从本地可执行文件索引发现。
xtables-monitor可执行文件已索引可执行文件从本地可执行文件索引发现。
xtables-nft-multi可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本1.8.13
管理器更新时间
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:iptables
版本1.8.13
软件包管理器Homebrew
主页https://www.netfilter.org/projects/iptables/index.html
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

iptables 1.8.11-2

administration tools for packet filtering and NAT

https://www.netfilter.org/

sudo apt install iptables
  • Section: net
  • Architecture: amd64
  • 9 依赖
  • 3 可选依赖
  • normalized package name match
  • 匹配方式:Iptables
Debian stable package indexes · deb.debian.org · Debian stable package indexes: iptables from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libip4tc-dev 1.8.11-2

Development files for libip4tc

https://www.netfilter.org/

sudo apt install libip4tc-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: iptables
  • 1 依赖
  • normalized package name match
  • 匹配方式:Iptables
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libip4tc-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libip4tc2 1.8.11-2

netfilter libip4tc library

https://www.netfilter.org/

sudo apt install libip4tc2
  • Section: libs
  • Architecture: amd64
  • Source Package: iptables
  • 1 依赖
  • normalized package name match
  • 匹配方式:Iptables
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libip4tc2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libip6tc-dev 1.8.11-2

Development files for libip6tc

https://www.netfilter.org/

sudo apt install libip6tc-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: iptables
  • 1 依赖
  • normalized package name match
  • 匹配方式:Iptables
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libip6tc-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libip6tc2 1.8.11-2

netfilter libip6tc library

https://www.netfilter.org/

sudo apt install libip6tc2
  • Section: libs
  • Architecture: amd64
  • Source Package: iptables
  • 1 依赖
  • normalized package name match
  • 匹配方式:Iptables
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libip6tc2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libiptc-dev 1.8.11-2

Common development files for libiptc

https://www.netfilter.org/

sudo apt install libiptc-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: iptables
  • 2 依赖
  • normalized package name match
  • 匹配方式:Iptables
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libiptc-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libxtables-dev 1.8.11-2

netfilter xtables library -- development files

https://www.netfilter.org/

sudo apt install libxtables-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: iptables
  • 1 依赖
  • normalized package name match
  • 匹配方式:Iptables
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libxtables-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libxtables12 1.8.11-2

netfilter xtables library

https://www.netfilter.org/

sudo apt install libxtables12
  • Section: libs
  • Architecture: amd64
  • Source Package: iptables
  • 1 依赖
  • normalized package name match
  • 匹配方式:Iptables
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libxtables12 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

iptables

nix profile install nixpkgs#iptables
  • normalized package name match
  • 匹配方式:Iptables
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ip/iptables/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

iptables 1.8.10-3ubuntu2

administration tools for packet filtering and NAT

https://www.netfilter.org/

sudo apt install iptables
  • Section: net
  • Architecture: amd64
  • 9 依赖
  • 3 可选依赖
  • normalized package name match
  • 匹配方式:Iptables
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: iptables from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libip4tc-dev 1.8.10-3ubuntu2

Development files for libip4tc

https://www.netfilter.org/

sudo apt install libip4tc-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: iptables
  • 1 依赖
  • normalized package name match
  • 匹配方式:Iptables
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libip4tc-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libip4tc2 1.8.10-3ubuntu2

netfilter libip4tc library

https://www.netfilter.org/

sudo apt install libip4tc2
  • Section: libs
  • Architecture: amd64
  • Source Package: iptables
  • 1 依赖
  • normalized package name match
  • 匹配方式:Iptables
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libip4tc2 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libip6tc-dev 1.8.10-3ubuntu2

Development files for libip6tc

https://www.netfilter.org/

sudo apt install libip6tc-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: iptables
  • 1 依赖
  • normalized package name match
  • 匹配方式:Iptables
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libip6tc-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libip6tc2 1.8.10-3ubuntu2

netfilter libip6tc library

https://www.netfilter.org/

sudo apt install libip6tc2
  • Section: libs
  • Architecture: amd64
  • Source Package: iptables
  • 1 依赖
  • normalized package name match
  • 匹配方式:Iptables
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libip6tc2 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libiptc-dev 1.8.10-3ubuntu2

Common development files for libiptc

https://www.netfilter.org/

sudo apt install libiptc-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: iptables
  • 2 依赖
  • normalized package name match
  • 匹配方式:Iptables
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libiptc-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libxtables-dev 1.8.10-3ubuntu2

netfilter xtables library -- development files

https://www.netfilter.org/

sudo apt install libxtables-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: iptables
  • 1 依赖
  • normalized package name match
  • 匹配方式:Iptables
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libxtables-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation