summaryrefslogtreecommitdiff
path: root/net/netfilter/Kconfig
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2015-11-25 13:39:38 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2016-01-04 17:48:38 +0100
commit39e6dea28adc874f7021e5580c13cab0b58407ea (patch)
tree63a1cd4ecfd32333dfba8d7305e5dc53f2d2285a /net/netfilter/Kconfig
parent502061f81d3eb4518d2e72178e494a8547788ad0 (diff)
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