aboutsummaryrefslogtreecommitdiff
path: root/net/netfilter/Kconfig
diff options
context:
space:
mode:
authorGravatar Pablo Neira Ayuso <pablo@netfilter.org> 2015-11-25 13:39:38 +0100
committerGravatar Pablo Neira Ayuso <pablo@netfilter.org> 2016-01-04 17:48:38 +0100
commit39e6dea28adc874f7021e5580c13cab0b58407ea (patch)
tree63a1cd4ecfd32333dfba8d7305e5dc53f2d2285a /net/netfilter/Kconfig
parentnetfilter: nf_tables: add packet duplication to the netdev family (diff)
downloadlinux-39e6dea28adc874f7021e5580c13cab0b58407ea.tar.gz
linux-39e6dea28adc874f7021e5580c13cab0b58407ea.tar.bz2
linux-39e6dea28adc874f7021e5580c13cab0b58407ea.zip
netfilter: nf_tables: add forward expression to the netdev family
You can use this to forward packets from ingress to the egress path of the specified interface. This provides a fast path to bounce packets from one interface to another specific destination interface. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter/Kconfig')
-rw-r--r--net/netfilter/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/net/netfilter/Kconfig b/net/netfilter/Kconfig
index 8514cc4b22a8..8c067e6663a1 100644
--- a/net/netfilter/Kconfig
+++ b/net/netfilter/Kconfig
@@ -577,6 +577,12 @@ config NFT_DUP_NETDEV
help
This option enables packet duplication for the "netdev" family.
+config NFT_FWD_NETDEV
+ tristate "Netfilter nf_tables netdev packet forwarding support"
+ select NF_DUP_NETDEV
+ help
+ This option enables packet forwarding for the "netdev" family.
+
endif # NF_TABLES_NETDEV
endif # NF_TABLES