diff options
Diffstat (limited to 'target/linux/config')
-rw-r--r-- | target/linux/config/Config.in.netfilter.ip4 | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/target/linux/config/Config.in.netfilter.ip4 b/target/linux/config/Config.in.netfilter.ip4 index e960a22ac..89d070c23 100644 --- a/target/linux/config/Config.in.netfilter.ip4 +++ b/target/linux/config/Config.in.netfilter.ip4 @@ -34,9 +34,24 @@ config ADK_KPACKAGE_KMOD_IP_NF_FILTER rules for simple packet filtering at local input, forwarding and local output. See the man page for iptables(8). +config ADK_KPACKAGE_KMOD_FULL_NAT + tristate "Meta package for Full NAT" + select ADK_KPACKAGE_KMOD_NF_NAT if ADK_KERNEL_VERSION_3_4_52 + select ADK_KPACKAGE_KMOD_NF_NAT_IPV4 if ADK_KERNEL_VERSION_3_9_9 + +config ADK_KPACKAGE_KMOD_NF_NAT + tristate 'Full NAT' + depends on ADK_KPACKAGE_KMOD_IP_NF_IPTABLES + depends on ADK_KERNEL_VERSION_3_4_52 + help + The Full NAT option allows masquerading, port forwarding and other + forms of full Network Address Port Translation. It is controlled by + the `nat' table in iptables: see the man page for iptables(8). + config ADK_KPACKAGE_KMOD_NF_NAT_IPV4 tristate 'Full NAT' depends on ADK_KPACKAGE_KMOD_IP_NF_IPTABLES + depends on ADK_KERNEL_VERSION_3_9_9 help The Full NAT option allows masquerading, port forwarding and other forms of full Network Address Port Translation. It is controlled by @@ -44,7 +59,7 @@ config ADK_KPACKAGE_KMOD_NF_NAT_IPV4 config ADK_KPACKAGE_KMOD_IP_NF_TARGET_MASQUERADE tristate 'MASQUERADE target support' - depends on ADK_KPACKAGE_KMOD_NF_NAT_IPV4 + depends on ADK_KPACKAGE_KMOD_FULL_NAT help Masquerading is a special case of NAT: all outgoing connections are changed to seem to come from a particular interface's address, and @@ -78,7 +93,7 @@ config ADK_KPACKAGE_KMOD_IP_NF_TARGET_ULOG config ADK_KPACKAGE_KMOD_IP_NF_TARGET_REDIRECT tristate 'REDIRECT target support' - depends on ADK_KPACKAGE_KMOD_NF_NAT_IPV4 + depends on ADK_KPACKAGE_KMOD_FULL_NAT help REDIRECT is a special case of NAT: all incoming connections are mapped onto the incoming interface's address, causing the packets to @@ -87,7 +102,7 @@ config ADK_KPACKAGE_KMOD_IP_NF_TARGET_REDIRECT config ADK_KPACKAGE_KMOD_IP_NF_TARGET_NETMAP tristate 'NETMAP target support' - depends on ADK_KPACKAGE_KMOD_NF_NAT_IPV4 + depends on ADK_KPACKAGE_KMOD_FULL_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 @@ -96,7 +111,7 @@ config ADK_KPACKAGE_KMOD_IP_NF_TARGET_NETMAP config ADK_KPACKAGE_KMOD_IP_NF_MANGLE tristate 'Packet mangling' - depends on ADK_KPACKAGE_KMOD_NF_NAT_IPV4 + depends on ADK_KPACKAGE_KMOD_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 |