aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2014-09-11 11:51:27 -0400
committerPablo Neira Ayuso <pablo@netfilter.org>2014-09-12 03:40:18 -0400
commit0bbe80e571c7b866afd92a98edd32a969467a7a9 (patch)
tree1dbc6cc4e5109036f5b3bd9a9dbdaa251a8722a8 /net/ipv6
parent3e8dc212a0e68a9a90c97f34a92c4cdd97d19dd3 (diff)
netfilter: masquerading needs to be independent of x_tables in Kconfig
Users are starting to test nf_tables with no x_tables support. Therefore, masquerading needs to be indenpendent of it from Kconfig. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/ipv6')
-rw-r--r--net/ipv6/netfilter/Kconfig27
1 files changed, 15 insertions, 12 deletions
diff --git a/net/ipv6/netfilter/Kconfig b/net/ipv6/netfilter/Kconfig
index e854062d0c36..bb1a40db7be1 100644
--- a/net/ipv6/netfilter/Kconfig
+++ b/net/ipv6/netfilter/Kconfig
@@ -71,6 +71,21 @@ config NFT_CHAIN_NAT_IPV6
71 packet transformations such as the source, destination address and 71 packet transformations such as the source, destination address and
72 source and destination ports. 72 source and destination ports.
73 73
74config NF_NAT_MASQUERADE_IPV6
75 tristate "IPv6 masquerade support"
76 help
77 This is the kernel functionality to provide NAT in the masquerade
78 flavour (automatic source address selection) for IPv6.
79
80config NFT_MASQ_IPV6
81 tristate "IPv6 masquerade support for nf_tables"
82 depends on NF_TABLES_IPV6
83 depends on NFT_MASQ
84 select NF_NAT_MASQUERADE_IPV6
85 help
86 This is the expression that provides IPv4 masquerading support for
87 nf_tables.
88
74endif # NF_NAT_IPV6 89endif # NF_NAT_IPV6
75 90
76config IP6_NF_IPTABLES 91config IP6_NF_IPTABLES
@@ -261,18 +276,6 @@ config IP6_NF_NAT
261 276
262if IP6_NF_NAT 277if IP6_NF_NAT
263 278
264config NF_NAT_MASQUERADE_IPV6
265 tristate "IPv6 masquerade support"
266 help
267 This is the kernel functionality to provide NAT in the masquerade
268 flavour (automatic source address selection) for IPv6.
269
270config NFT_MASQ_IPV6
271 tristate "IPv6 masquerade support for nf_tables"
272 depends on NF_TABLES_IPV6
273 depends on NFT_MASQ
274 select NF_NAT_MASQUERADE_IPV6
275
276config IP6_NF_TARGET_MASQUERADE 279config IP6_NF_TARGET_MASQUERADE
277 tristate "MASQUERADE target support" 280 tristate "MASQUERADE target support"
278 select NF_NAT_MASQUERADE_IPV6 281 select NF_NAT_MASQUERADE_IPV6