Install this package:
emerge -a net-firewall/iptables
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 9999 | 8 | 0/11 |
<pkgmetadata> <maintainer type="project"> <email>base-system@gentoo.org</email> <name>Gentoo Base System</name> </maintainer> <longdescription>iptables is the userspace command line program used to set up, maintain, and inspect the tables of IPv4 packet filter rules in the Linux kernel. It's a part of packet filtering framework which allows the stateless and stateful packet filtering, all kinds of network address and port translation, and is a flexible and extensible infrastructure with multiple layers of API's for 3rd party extensions. The iptables package also includes ip6tables. ip6tables is used for configuring the IPv6 packet filter. Note that some extensions (e.g. imq and l7filter) are not included into official kernel sources so you have to patch the sources before installation.</longdescription> <use> <flag name="conntrack">Build against <pkg>net-libs/libnetfilter_conntrack</pkg> when enables the connlabel matcher</flag> <flag name="netlink">Build against libnfnetlink which enables the nfnl_osf util</flag> <flag name="nftables">Support nftables kernel interface</flag> <flag name="ipq">Support for IPQ</flag> <flag name="pcap">Build against <pkg>net-libs/libpcap</pkg> which enables the nfbpf_compile util</flag> </use> <upstream> <remote-id type="cpe">cpe:/a:netfilter_core_team:iptables</remote-id> </upstream> </pkgmetadata>
Manage flags for this package:
euse -i <flag> -p net-firewall/iptables |
euse -E <flag> -p net-firewall/iptables |
euse -D <flag> -p net-firewall/iptables
| Flag | Description | 9999 |
|---|---|---|
| conntrack | Build against <pkg>net-libs/libnetfilter_conntrack</pkg> when enables the connlabel matcher | ✓ |
| ipq | Support for IPQ | ✓ |
| ipv6 | Enable IPv6 support ⚠️ | ✓ |
| netlink | Build against libnfnetlink which enables the nfnl_osf util | ✓ |
| nftables | Support nftables kernel interface | ✓ |
| pcap | Build against <pkg>net-libs/libpcap</pkg> which enables the nfbpf_compile util | ✓ |
| static-libs | Build static library ⚠️ | ✓ |