Kconfig

IP: Netfilter Configuration

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

On

This option enables the IPv4 support for nf_tables.

If NF_TABLES_IPV4

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.

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.

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

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.

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.

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.

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.

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.

If IP_NF_NAT

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.

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.

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.