IP: Netfilter Configuration
CONFIG_NF_DEFRAG_IPV4
- Off
- Module
- Built in
CONFIG_IP_NF_IPTABLES_LEGACY Legacy IP tables support
- Off
- Module
- Built in
iptables is a legacy packet classifier. This is not needed if you are using iptables over nftables (iptables-nft).
- Depends on
NET && INET && NETFILTER && NETFILTER_XTABLES_LEGACY && NETFILTER_XTABLES
CONFIG_NF_SOCKET_IPV4 IPv4 socket lookup support
- Off
- Module
- Built in
This option enables the IPv4 socket lookup infrastructure. This is is required by the {ip,nf}tables socket match.
CONFIG_NF_TPROXY_IPV4 IPv4 tproxy support
- Off
- Module
- Built in
If NF_TABLES
CONFIG_NF_TABLES_IPV4 IPv4 nf_tables support
This option enables the IPv4 support for nf_tables.
If NF_TABLES_IPV4
- Depends on
NET && INET && NETFILTER && NF_TABLES && NF_TABLES_IPV4
CONFIG_NFT_REJECT_IPV4
- Off
- Module
- Built in
- Depends on
NET && INET && NETFILTER && NF_TABLES && NF_TABLES_IPV4 - Selects
NF_REJECT_IPV4 if NET && INET && NETFILTER && NF_TABLES && NF_TABLES_IPV4
CONFIG_NFT_DUP_IPV4 IPv4 nf_tables packet duplication support
- Off
- Module
- Built in
This module enables IPv4 packet duplication support for nf_tables.
- Depends on
NET && INET && NETFILTER && NF_TABLES && NF_TABLES_IPV4 && (!NF_CONNTRACK || NF_CONNTRACK) - Selects
NF_DUP_IPV4 if NET && INET && NETFILTER && NF_TABLES && NF_TABLES_IPV4 && (!NF_CONNTRACK || NF_CONNTRACK)
CONFIG_NFT_FIB_IPV4 nf_tables fib / ip route lookup support
- Off
- Module
- Built in
This module enables IPv4 FIB lookups, e.g. for reverse path filtering. It also allows query of the FIB for the route type, e.g. local, unicast, multicast or blackhole.
CONFIG_NF_TABLES_ARP ARP nf_tables support
This option enables the ARP support for nf_tables.
CONFIG_NF_DUP_IPV4 Netfilter IPv4 packet duplication to alternate destination
- Off
- Module
- Built in
This option enables the nf_dup_ipv4 core, which duplicates an IPv4 packet to be rerouted to another destination.
- Depends on
NET && INET && NETFILTER && (!NF_CONNTRACK || NF_CONNTRACK)
CONFIG_NF_LOG_ARP ARP packet logging
- Off
- Module
- Built in
This is a backwards-compat option for the user's convenience (e.g. when running oldconfig). It selects CONFIG_NF_LOG_SYSLOG.
CONFIG_NF_LOG_IPV4 IPv4 packet logging
- Off
- Module
- Built in
This is a backwards-compat option for the user's convenience (e.g. when running oldconfig). It selects CONFIG_NF_LOG_SYSLOG.
CONFIG_NF_REJECT_IPV4 IPv4 packet rejection
- Off
- Module
- Built in
If NF_NAT
CONFIG_NF_NAT_SNMP_BASIC Basic SNMP-ALG support
- Off
- Module
- Built in
This module implements an Application Layer Gateway (ALG) for SNMP payloads. In conjunction with NAT, it allows a network management system to access multiple private networks with conflicting addresses. It works by modifying IP addresses inside SNMP payloads to match IP-layer NAT mapping.
This is the "basic" form of SNMP-ALG, as described in RFC 2962
To compile it as a module, choose M here. If unsure, say N.
- Depends on
NET && INET && NETFILTER && NF_NAT && NF_CONNTRACK_SNMP && NETFILTER_ADVANCED - Selects
ASN1 if NET && INET && NETFILTER && NF_NAT && NF_CONNTRACK_SNMP && NETFILTER_ADVANCED
CONFIG_NF_NAT_PPTP
- Off
- Module
- Built in
- Depends on
NET && INET && NETFILTER && NF_NAT && NF_CONNTRACK
CONFIG_NF_NAT_H323
- Off
- Module
- Built in
- Depends on
NET && INET && NETFILTER && NF_NAT && NF_CONNTRACK
CONFIG_IP_NF_IPTABLES IP tables support (required for filtering/masq/NAT)
- Off
- Module
- Built in
iptables is a general, extensible packet identification framework. The packet filtering and full NAT (masquerading, port forwarding, etc) subsystems now use this: say `Y' or `M' here if you want to use either of those.
To compile it as a module, choose M here. If unsure, say N.
If IP_NF_IPTABLES
- Depends on
NET && INET && NETFILTER && IP_NF_IPTABLES
CONFIG_IP_NF_MATCH_AH "ah" match support
- Off
- Module
- Built in
This match extension allows you to match a range of SPIs inside AH header of IPSec packets.
To compile it as a module, choose M here. If unsure, say N.
- Depends on
NET && INET && NETFILTER && IP_NF_IPTABLES && NETFILTER_ADVANCED
CONFIG_IP_NF_MATCH_ECN "ecn" match support
- Off
- Module
- Built in
This is a backwards-compat option for the user's convenience (e.g. when running oldconfig). It selects CONFIG_NETFILTER_XT_MATCH_ECN.
- Depends on
NET && INET && NETFILTER && IP_NF_IPTABLES && NETFILTER_ADVANCED - Selects
NETFILTER_XT_MATCH_ECN if NET && INET && NETFILTER && IP_NF_IPTABLES && NETFILTER_ADVANCED
CONFIG_IP_NF_MATCH_RPFILTER "rpfilter" reverse path filter match support
- Off
- Module
- Built in
This option allows you to match packets whose replies would go out via the interface the packet came in.
To compile it as a module, choose M here. If unsure, say N. The module will be called ipt_rpfilter.
- Depends on
NET && INET && NETFILTER && IP_NF_IPTABLES && NETFILTER_ADVANCED && (IP_NF_MANGLE || IP_NF_RAW || NFT_COMPAT)
CONFIG_IP_NF_MATCH_TTL "ttl" match support
- Off
- Module
- Built in
This is a backwards-compat option for the user's convenience (e.g. when running oldconfig). It selects CONFIG_NETFILTER_XT_MATCH_HL.
- Depends on
NET && INET && NETFILTER && IP_NF_IPTABLES && NETFILTER_ADVANCED - Selects
NETFILTER_XT_MATCH_HL if NET && INET && NETFILTER && IP_NF_IPTABLES && NETFILTER_ADVANCED
CONFIG_IP_NF_FILTER Packet filtering
- Off
- Module
- Built in
Packet filtering defines a table `filter', which has a series of rules for simple packet filtering at local input, forwarding and local output. See the man page for iptables(8).
To compile it as a module, choose M here. If unsure, say N.
- Depends on
NET && INET && NETFILTER && IP_NF_IPTABLES && IP_NF_IPTABLES_LEGACY
CONFIG_IP_NF_TARGET_REJECT REJECT target support
- Off
- Module
- Built in
The REJECT target allows a filtering rule to specify that an ICMP error should be issued in response to an incoming packet, rather than silently being dropped.
To compile it as a module, choose M here. If unsure, say N.
- Depends on
NET && INET && NETFILTER && IP_NF_IPTABLES && (IP_NF_FILTER || NFT_COMPAT) - Selects
NF_REJECT_IPV4 if NET && INET && NETFILTER && IP_NF_IPTABLES && (IP_NF_FILTER || NFT_COMPAT)
CONFIG_IP_NF_TARGET_SYNPROXY SYNPROXY target support
- Off
- Module
- Built in
The SYNPROXY target allows you to intercept TCP connections and establish them using syncookies before they are passed on to the server. This allows to avoid conntrack and server resource usage during SYN-flood attacks.
To compile it as a module, choose M here. If unsure, say N.
- Depends on
NET && INET && NETFILTER && IP_NF_IPTABLES && NF_CONNTRACK && NETFILTER_ADVANCED - Selects
NETFILTER_SYNPROXY if NET && INET && NETFILTER && IP_NF_IPTABLES && NF_CONNTRACK && NETFILTER_ADVANCED - Selects
SYN_COOKIES if NET && INET && NETFILTER && IP_NF_IPTABLES && NF_CONNTRACK && NETFILTER_ADVANCED
CONFIG_IP_NF_NAT iptables NAT support
- Off
- Module
- Built in
This enables the `nat' table in iptables. This allows masquerading, port forwarding and other forms of full Network Address Port Translation.
To compile it as a module, choose M here. If unsure, say N.
- Depends on
NET && INET && NETFILTER && IP_NF_IPTABLES && NF_CONNTRACK && IP_NF_IPTABLES_LEGACY - Selects
NF_NAT if NET && INET && NETFILTER && IP_NF_IPTABLES && NF_CONNTRACK && IP_NF_IPTABLES_LEGACY - Selects
NETFILTER_XT_NAT if NET && INET && NETFILTER && IP_NF_IPTABLES && NF_CONNTRACK && IP_NF_IPTABLES_LEGACY
If IP_NF_NAT
- Depends on
NET && INET && NETFILTER && IP_NF_IPTABLES && IP_NF_NAT
CONFIG_IP_NF_TARGET_MASQUERADE MASQUERADE target support
- Off
- Module
- Built in
This is a backwards-compat option for the user's convenience (e.g. when running oldconfig). It selects NETFILTER_XT_TARGET_MASQUERADE.
- Depends on
NET && INET && NETFILTER && IP_NF_IPTABLES && IP_NF_NAT - Selects
NETFILTER_XT_TARGET_MASQUERADE if NET && INET && NETFILTER && IP_NF_IPTABLES && IP_NF_NAT
CONFIG_IP_NF_TARGET_NETMAP NETMAP target support
- Off
- Module
- Built in
This is a backwards-compat option for the user's convenience (e.g. when running oldconfig). It selects CONFIG_NETFILTER_XT_TARGET_NETMAP.
- Depends on
NET && INET && NETFILTER && IP_NF_IPTABLES && IP_NF_NAT && NETFILTER_ADVANCED - Selects
NETFILTER_XT_TARGET_NETMAP if NET && INET && NETFILTER && IP_NF_IPTABLES && IP_NF_NAT && NETFILTER_ADVANCED
CONFIG_IP_NF_TARGET_REDIRECT REDIRECT target support
- Off
- Module
- Built in
This is a backwards-compat option for the user's convenience (e.g. when running oldconfig). It selects CONFIG_NETFILTER_XT_TARGET_REDIRECT.
- Depends on
NET && INET && NETFILTER && IP_NF_IPTABLES && IP_NF_NAT && NETFILTER_ADVANCED - Selects
NETFILTER_XT_TARGET_REDIRECT if NET && INET && NETFILTER && IP_NF_IPTABLES && IP_NF_NAT && NETFILTER_ADVANCED
CONFIG_IP_NF_MANGLE Packet mangling
- Off
- Module
- Built in
This option adds a `mangle' table to iptables: see the man page for iptables(8). This table is used for various packet alterations which can effect how the packet is routed.
To compile it as a module, choose M here. If unsure, say N.
- Depends on
NET && INET && NETFILTER && IP_NF_IPTABLES && IP_NF_IPTABLES_LEGACY
CONFIG_IP_NF_TARGET_ECN ECN target support
- Off
- Module
- Built in
This option adds a `ECN' target, which can be used in the iptables mangle table.
You can use this target to remove the ECN bits from the IPv4 header of an IP packet. This is particularly useful, if you need to work around existing ECN blackholes on the internet, but don't want to disable ECN support in general.
To compile it as a module, choose M here. If unsure, say N.
- Depends on
NET && INET && NETFILTER && IP_NF_IPTABLES && (IP_NF_MANGLE || NFT_COMPAT) && NETFILTER_ADVANCED
CONFIG_IP_NF_TARGET_TTL "TTL" target support
- Off
- Module
- Built in
This is a backwards-compatible option for the user's convenience (e.g. when running oldconfig). It selects CONFIG_NETFILTER_XT_TARGET_HL.
- Depends on
NET && INET && NETFILTER && IP_NF_IPTABLES && NETFILTER_ADVANCED && IP_NF_MANGLE - Selects
NETFILTER_XT_TARGET_HL if NET && INET && NETFILTER && IP_NF_IPTABLES && NETFILTER_ADVANCED && IP_NF_MANGLE
CONFIG_IP_NF_RAW raw table support (required for NOTRACK/TRACE)
- Off
- Module
- Built in
This option adds a `raw' table to iptables. This table is the very first in the netfilter framework and hooks in at the PREROUTING and OUTPUT chains.
If you want to compile it as a module, say M here and read <file:Documentation/kbuild/modules.rst>. If unsure, say `N'.
- Depends on
NET && INET && NETFILTER && IP_NF_IPTABLES && IP_NF_IPTABLES_LEGACY
CONFIG_IP_NF_SECURITY Security table
- Off
- Module
- Built in
This option adds a `security' table to iptables, for use with Mandatory Access Control (MAC) policy.
If unsure, say N.
- Depends on
NET && INET && NETFILTER && IP_NF_IPTABLES && SECURITY && NETFILTER_ADVANCED && IP_NF_IPTABLES_LEGACY
CONFIG_IP_NF_ARPTABLES Legacy ARPTABLES support
- Off
- Module
- Built in
arptables is a legacy packet classifier. This is not needed if you are using arptables over nftables (iptables-nft).
- Depends on
NET && INET && NETFILTER && NETFILTER_XTABLES_LEGACY && NETFILTER_XTABLES
CONFIG_NFT_COMPAT_ARP
- Off
- Module
- Built in
- Depends on
NET && INET && NETFILTER && NF_TABLES_ARP && NFT_COMPAT
CONFIG_IP_NF_ARPFILTER arptables-legacy packet filtering support
- Off
- Module
- Built in
ARP packet filtering defines a table `filter', which has a series of rules for simple ARP packet filtering at local input and local output. This is only needed for arptables-legacy(8). Neither arptables-nft nor nftables need this to work.
To compile it as a module, choose M here. If unsure, say N.
- Depends on
NET && INET && NETFILTER && NETFILTER_XTABLES_LEGACY && NETFILTER_XTABLES - Selects
IP_NF_ARPTABLES if NET && INET && NETFILTER && NETFILTER_XTABLES_LEGACY && NETFILTER_XTABLES - Selects
NETFILTER_FAMILY_ARP if NET && INET && NETFILTER && NETFILTER_XTABLES_LEGACY && NETFILTER_XTABLES
CONFIG_IP_NF_ARP_MANGLE ARP payload mangling
- Off
- Module
- Built in
Allows altering the ARP packet payload: source and destination hardware and network addresses.
This option is needed by both arptables-legacy and arptables-nft. It is not used by nftables.
- Depends on
NET && INET && NETFILTER && (IP_NF_ARPTABLES || NFT_COMPAT_ARP)