|
@@ -844,8 +844,8 @@ config NETFILTER_XT_TARGET_RATEEST
|
|
|
config NETFILTER_XT_TARGET_REDIRECT
|
|
|
tristate "REDIRECT target support"
|
|
|
depends on NF_NAT
|
|
|
- select NF_NAT_REDIRECT_IPV4
|
|
|
- select NF_NAT_REDIRECT_IPV6 if IP6_NF_IPTABLES
|
|
|
+ select NF_NAT_REDIRECT_IPV4 if NF_NAT_IPV4
|
|
|
+ select NF_NAT_REDIRECT_IPV6 if NF_NAT_IPV6
|
|
|
---help---
|
|
|
REDIRECT is a special case of NAT: all incoming connections are
|
|
|
mapped onto the incoming interface's address, causing the packets to
|