From 10af76efc1d5e707fd16342c5d835b54b02695c2 Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Tue, 17 Jun 2014 03:07:50 +0200 Subject: target/linux/config: fixup (IPv4) NAT support - add missing xt_conntrack.ko - conntrack needs to be loaded before NAT - add generic nf_nat.ko and xt_nat.ko - drop linux-3.4 compat case - fix symbol names for conntrack and connmark matches - fix for non-existing FULL_NAT symbol Signed-off-by: Phil Sutter --- target/linux/config/Config.in.netfilter.ip4 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'target/linux/config/Config.in.netfilter.ip4') diff --git a/target/linux/config/Config.in.netfilter.ip4 b/target/linux/config/Config.in.netfilter.ip4 index 075fabd1c..d26e61b8e 100644 --- a/target/linux/config/Config.in.netfilter.ip4 +++ b/target/linux/config/Config.in.netfilter.ip4 @@ -2,6 +2,7 @@ config ADK_KERNEL_NF_CONNTRACK_IPV4 prompt 'IPv4 connection tracking support (required for NAT)' tristate select ADK_KERNEL_NF_CONNTRACK + select ADK_KERNEL_NETFILTER_XT_MATCH_CONNTRACK default m if ADK_PACKAGE_IPTABLES default n help @@ -61,7 +62,7 @@ config ADK_KERNEL_NF_NAT_IPV4 config ADK_KERNEL_IP_NF_TARGET_MASQUERADE tristate 'MASQUERADE target support' - depends on ADK_KERNEL_FULL_NAT + depends on ADK_KERNEL_NF_NAT default m if ADK_PACKAGE_IPTABLES default n help @@ -99,7 +100,7 @@ config ADK_KERNEL_IP_NF_TARGET_ULOG config ADK_KERNEL_IP_NF_TARGET_REDIRECT tristate 'REDIRECT target support' - depends on ADK_KERNEL_FULL_NAT + depends on ADK_KERNEL_NF_NAT help REDIRECT is a special case of NAT: all incoming connections are mapped onto the incoming interface's address, causing the packets to @@ -108,7 +109,7 @@ config ADK_KERNEL_IP_NF_TARGET_REDIRECT config ADK_KERNEL_IP_NF_TARGET_NETMAP tristate 'NETMAP target support' - depends on ADK_KERNEL_FULL_NAT + depends on ADK_KERNEL_NF_NAT help NETMAP is an implementation of static 1:1 NAT mapping of network addresses. It maps the network address part, while keeping the host @@ -117,7 +118,6 @@ config ADK_KERNEL_IP_NF_TARGET_NETMAP config ADK_KERNEL_IP_NF_MANGLE tristate 'Packet mangling' - depends on ADK_KERNEL_FULL_NAT help This option adds a `mangle' table to iptables: see the man page for iptables(8). This table is used for various packet alterations -- cgit v1.2.3