diff options
author | Arturo Borrero <arturo.borrero.glez@gmail.com> | 2014-10-16 12:23:29 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2014-10-27 22:47:06 +0100 |
commit | 8b13eddfdf04cbfa561725cfc42d6868fe896f56 (patch) | |
tree | a54fcd289d9acb1566a841f66045127227c84d25 /net/netfilter/Kconfig | |
parent | b8901ac319768cdd3afa060787503e0c405f9607 (diff) | |
download | linux-8b13eddfdf04cbfa561725cfc42d6868fe896f56.tar.gz linux-8b13eddfdf04cbfa561725cfc42d6868fe896f56.tar.bz2 linux-8b13eddfdf04cbfa561725cfc42d6868fe896f56.zip |
netfilter: refactor NAT redirect IPv4 to use it from nf_tables
This patch refactors the IPv4 code so it can be usable both from xt and
nf_tables.
A similar patch follows-up to handle IPv6.
Signed-off-by: Arturo Borrero Gonzalez <arturo.borrero.glez@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter/Kconfig')
-rw-r--r-- | net/netfilter/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/netfilter/Kconfig b/net/netfilter/Kconfig index ae5096ab65eb..a0716a3f08b0 100644 --- a/net/netfilter/Kconfig +++ b/net/netfilter/Kconfig @@ -835,6 +835,7 @@ config NETFILTER_XT_TARGET_RATEEST config NETFILTER_XT_TARGET_REDIRECT tristate "REDIRECT target support" depends on NF_NAT + select NF_NAT_REDIRECT_IPV4 ---help--- REDIRECT is a special case of NAT: all incoming connections are mapped onto the incoming interface's address, causing the packets to |