Merge git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next
[linux-2.6-block.git] / net / ipv6 / netfilter / Kconfig
index 2812816aabdc0a2918b183094ac4a119b4c0f1fa..a8f25306a46a2457d07fb9ce12a90649d9dcfec7 100644 (file)
@@ -258,8 +258,21 @@ config IP6_NF_NAT
 
 if IP6_NF_NAT
 
+config NF_NAT_MASQUERADE_IPV6
+       tristate "IPv6 masquerade support"
+       help
+        This is the kernel functionality to provide NAT in the masquerade
+        flavour (automatic source address selection) for IPv6.
+
+config NFT_MASQ_IPV6
+       tristate "IPv6 masquerade support for nf_tables"
+       depends on NF_TABLES_IPV6
+       depends on NFT_MASQ
+       select NF_NAT_MASQUERADE_IPV6
+
 config IP6_NF_TARGET_MASQUERADE
        tristate "MASQUERADE target support"
+       select NF_NAT_MASQUERADE_IPV6
        help
          Masquerading is a special case of NAT: all outgoing connections are
          changed to seem to come from a particular interface's address, and