IPv6: Netfilter Configuration
CONFIG_IP6_NF_IPTABLES_LEGACY Legacy IP6 tables support
- Off
- Module
- Built in
ip6tables is a legacy packet classifier. This is not needed if you are using iptables over nftables (iptables-nft).
- Depends on
NET && NETFILTER && INET && IPV6 && NETFILTER_XTABLES_LEGACY && NETFILTER_XTABLES
CONFIG_NF_SOCKET_IPV6 IPv6 socket lookup support
- Off
- Module
- Built in
This option enables the IPv6 socket lookup infrastructure. This is used by the {ip6,nf}tables socket match.
CONFIG_NF_TPROXY_IPV6 IPv6 tproxy support
- Off
- Module
- Built in
If NF_TABLES
CONFIG_NF_TABLES_IPV6 IPv6 nf_tables support
This option enables the IPv6 support for nf_tables.
If NF_TABLES_IPV6
CONFIG_NFT_REJECT_IPV6
- Off
- Module
- Built in
- Depends on
NET && INET && IPV6 && NETFILTER && NF_TABLES && NF_TABLES_IPV6 - Selects
NF_REJECT_IPV6 if NET && INET && IPV6 && NETFILTER && NF_TABLES && NF_TABLES_IPV6
CONFIG_NFT_DUP_IPV6 IPv6 nf_tables packet duplication support
- Off
- Module
- Built in
This module enables IPv6 packet duplication support for nf_tables.
- Depends on
NET && INET && IPV6 && NETFILTER && NF_TABLES && NF_TABLES_IPV6 && (!NF_CONNTRACK || NF_CONNTRACK) - Selects
NF_DUP_IPV6 if NET && INET && IPV6 && NETFILTER && NF_TABLES && NF_TABLES_IPV6 && (!NF_CONNTRACK || NF_CONNTRACK)
CONFIG_NFT_FIB_IPV6 nf_tables fib / ipv6 route lookup support
- Off
- Module
- Built in
This module enables IPv6 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_DUP_IPV6 Netfilter IPv6 packet duplication to alternate destination
- Off
- Module
- Built in
This option enables the nf_dup_ipv6 core, which duplicates an IPv6 packet to be rerouted to another destination.
- Depends on
NET && INET && IPV6 && NETFILTER && (!NF_CONNTRACK || NF_CONNTRACK)
CONFIG_NF_REJECT_IPV6 IPv6 packet rejection
- Off
- Module
- Built in
CONFIG_NF_LOG_IPV6 IPv6 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_IP6_NF_IPTABLES IP6 tables support (required for filtering)
- Off
- Module
- Built in
ip6tables is a general, extensible packet identification framework. Currently only the packet filtering and packet mangling subsystem for IPv6 use this, but connection tracking is going to follow. 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 IP6_NF_IPTABLES
- Depends on
NET && INET && IPV6 && NETFILTER && IP6_NF_IPTABLES
CONFIG_IP6_NF_MATCH_AH "ah" match support
- Off
- Module
- Built in
This module allows one to match AH packets.
To compile it as a module, choose M here. If unsure, say N.
- Depends on
NET && INET && IPV6 && NETFILTER && IP6_NF_IPTABLES && NETFILTER_ADVANCED
CONFIG_IP6_NF_MATCH_EUI64 "eui64" address check
- Off
- Module
- Built in
This module performs checking on the IPv6 source address Compares the last 64 bits with the EUI64 (delivered from the MAC address) address
To compile it as a module, choose M here. If unsure, say N.
- Depends on
NET && INET && IPV6 && NETFILTER && IP6_NF_IPTABLES && NETFILTER_ADVANCED
CONFIG_IP6_NF_MATCH_FRAG "frag" Fragmentation header match support
- Off
- Module
- Built in
frag matching allows you to match packets based on the fragmentation header of the packet.
To compile it as a module, choose M here. If unsure, say N.
- Depends on
NET && INET && IPV6 && NETFILTER && IP6_NF_IPTABLES && NETFILTER_ADVANCED
CONFIG_IP6_NF_MATCH_OPTS "hbh" hop-by-hop and "dst" opts header match support
- Off
- Module
- Built in
This allows one to match packets based on the hop-by-hop and destination options headers of a packet.
To compile it as a module, choose M here. If unsure, say N.
- Depends on
NET && INET && IPV6 && NETFILTER && IP6_NF_IPTABLES && NETFILTER_ADVANCED
CONFIG_IP6_NF_MATCH_HL "hl" hoplimit 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 && IPV6 && NETFILTER && IP6_NF_IPTABLES && NETFILTER_ADVANCED - Selects
NETFILTER_XT_MATCH_HL if NET && INET && IPV6 && NETFILTER && IP6_NF_IPTABLES && NETFILTER_ADVANCED
CONFIG_IP6_NF_MATCH_IPV6HEADER "ipv6header" IPv6 Extension Headers Match
- Off
- Module
- Built in
This module allows one to match packets based upon the ipv6 extension headers.
To compile it as a module, choose M here. If unsure, say N.
- Depends on
NET && INET && IPV6 && NETFILTER && IP6_NF_IPTABLES
CONFIG_IP6_NF_MATCH_MH "mh" match support
- Off
- Module
- Built in
This module allows one to match MH packets.
To compile it as a module, choose M here. If unsure, say N.
- Depends on
NET && INET && IPV6 && NETFILTER && IP6_NF_IPTABLES && NETFILTER_ADVANCED
CONFIG_IP6_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 ip6t_rpfilter.
- Depends on
NET && INET && IPV6 && NETFILTER && IP6_NF_IPTABLES && NETFILTER_ADVANCED && (IP6_NF_MANGLE || IP6_NF_RAW || NFT_COMPAT)
CONFIG_IP6_NF_MATCH_RT "rt" Routing header match support
- Off
- Module
- Built in
rt matching allows you to match packets based on the routing header of the packet.
To compile it as a module, choose M here. If unsure, say N.
- Depends on
NET && INET && IPV6 && NETFILTER && IP6_NF_IPTABLES && NETFILTER_ADVANCED
CONFIG_IP6_NF_MATCH_SRH "srh" Segment Routing header match support
- Off
- Module
- Built in
srh matching allows you to match packets based on the segment routing header of the packet.
To compile it as a module, choose M here. If unsure, say N.
- Depends on
NET && INET && IPV6 && NETFILTER && IP6_NF_IPTABLES && NETFILTER_ADVANCED
CONFIG_IP6_NF_TARGET_HL "HL" hoplimit 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 && IPV6 && NETFILTER && IP6_NF_IPTABLES && NETFILTER_ADVANCED && IP6_NF_MANGLE - Selects
NETFILTER_XT_TARGET_HL if NET && INET && IPV6 && NETFILTER && IP6_NF_IPTABLES && NETFILTER_ADVANCED && IP6_NF_MANGLE
CONFIG_IP6_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 && IPV6 && NETFILTER && IP6_NF_IPTABLES && IP6_NF_IPTABLES_LEGACY
CONFIG_IP6_NF_TARGET_REJECT REJECT target support
- Off
- Module
- Built in
The REJECT target allows a filtering rule to specify that an ICMPv6 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 && IPV6 && NETFILTER && IP6_NF_IPTABLES && (IP6_NF_FILTER || NFT_COMPAT) - Selects
NF_REJECT_IPV6 if NET && INET && IPV6 && NETFILTER && IP6_NF_IPTABLES && (IP6_NF_FILTER || NFT_COMPAT)
CONFIG_IP6_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 && IPV6 && NETFILTER && IP6_NF_IPTABLES && NF_CONNTRACK && NETFILTER_ADVANCED - Selects
NETFILTER_SYNPROXY if NET && INET && IPV6 && NETFILTER && IP6_NF_IPTABLES && NF_CONNTRACK && NETFILTER_ADVANCED - Selects
SYN_COOKIES if NET && INET && IPV6 && NETFILTER && IP6_NF_IPTABLES && NF_CONNTRACK && NETFILTER_ADVANCED
CONFIG_IP6_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 && IPV6 && NETFILTER && IP6_NF_IPTABLES && IP6_NF_IPTABLES_LEGACY
CONFIG_IP6_NF_RAW raw table support (required for TRACE)
- Off
- Module
- Built in
This option adds a `raw' table to ip6tables. 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 && IPV6 && NETFILTER && IP6_NF_IPTABLES && IP6_NF_IPTABLES_LEGACY
CONFIG_IP6_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 && IPV6 && NETFILTER && IP6_NF_IPTABLES && SECURITY && NETFILTER_ADVANCED && IP6_NF_IPTABLES_LEGACY
CONFIG_IP6_NF_NAT ip6tables NAT support
- Off
- Module
- Built in
This enables the `nat' table in ip6tables. 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 && IPV6 && NETFILTER && IP6_NF_IPTABLES && NF_CONNTRACK && NETFILTER_ADVANCED && IP6_NF_IPTABLES_LEGACY - Selects
NF_NAT if NET && INET && IPV6 && NETFILTER && IP6_NF_IPTABLES && NF_CONNTRACK && NETFILTER_ADVANCED && IP6_NF_IPTABLES_LEGACY - Selects
NETFILTER_XT_NAT if NET && INET && IPV6 && NETFILTER && IP6_NF_IPTABLES && NF_CONNTRACK && NETFILTER_ADVANCED && IP6_NF_IPTABLES_LEGACY
If IP6_NF_NAT
CONFIG_IP6_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 && IPV6 && NETFILTER && IP6_NF_IPTABLES && IP6_NF_NAT - Selects
NETFILTER_XT_TARGET_MASQUERADE if NET && INET && IPV6 && NETFILTER && IP6_NF_IPTABLES && IP6_NF_NAT
CONFIG_IP6_NF_TARGET_NPT NPT (Network Prefix translation) target support
- Off
- Module
- Built in
This option adds the `SNPT' and `DNPT' target, which perform stateless IPv6-to-IPv6 Network Prefix Translation per RFC 6296.
To compile it as a module, choose M here. If unsure, say N.
- Depends on
NET && INET && IPV6 && NETFILTER && IP6_NF_IPTABLES && (IP6_NF_NAT || NFT_COMPAT)
CONFIG_NF_DEFRAG_IPV6
- Off
- Module
- Built in