summaryrefslogtreecommitdiff
path: root/net/ipv6/netfilter/Kconfig
diff options
context:
space:
mode:
authorArturo Borrero <arturo.borrero.glez@gmail.com>2014-10-17 12:37:52 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2014-10-27 22:48:10 +0100
commit9de920eddb74bf67f1d6af603acc5ed05dcd35e9 (patch)
tree096dea317cc6ee9d5de3b29b081e8a4968c51de0 /net/ipv6/netfilter/Kconfig
parent8b13eddfdf04cbfa561725cfc42d6868fe896f56 (diff)
downloadlinux-9de920eddb74bf67f1d6af603acc5ed05dcd35e9.tar.gz
linux-9de920eddb74bf67f1d6af603acc5ed05dcd35e9.tar.xz
netfilter: refactor NAT redirect IPv6 code to use it from nf_tables
This patch refactors the IPv6 code so it can be usable both from xt and nf_tables. Signed-off-by: Arturo Borrero Gonzalez <arturo.borrero.glez@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/ipv6/netfilter/Kconfig')
-rw-r--r--net/ipv6/netfilter/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/net/ipv6/netfilter/Kconfig b/net/ipv6/netfilter/Kconfig
index 6af874fc187f..462eebbf4377 100644
--- a/net/ipv6/netfilter/Kconfig
+++ b/net/ipv6/netfilter/Kconfig
@@ -82,6 +82,12 @@ config NF_NAT_MASQUERADE_IPV6
This is the kernel functionality to provide NAT in the masquerade
flavour (automatic source address selection) for IPv6.
+config NF_NAT_REDIRECT_IPV6
+ tristate "IPv6 redirect support"
+ help
+ This is the kernel functionality to provide NAT in the redirect
+ flavour (redirect packet to local machine) for IPv6.
+
config NFT_MASQ_IPV6
tristate "IPv6 masquerade support for nf_tables"
depends on NF_TABLES_IPV6