From b76a2e2e78f0267f966cc88bf724cf96c2f14566 Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Mon, 24 Jun 2019 17:12:38 +0200 Subject: files: Move netdev-ingress.nft to /etc/nftables as well Commit 13535a3b40b62 ("files: restore base table skeletons") moved config skeletons back from examples/ to /etc/nftables/ directory, but ignored the fact that commit 6c9230e79339c ("nftables: rearrange files and examples") added a new file 'netdev-ingress.nft' which is referenced from 'all-in-one.nft' as well. Fixes: 13535a3b40b62 ("files: restore base table skeletons") Signed-off-by: Phil Sutter Signed-off-by: Pablo Neira Ayuso --- files/nftables/netdev-ingress.nft | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 files/nftables/netdev-ingress.nft (limited to 'files/nftables/netdev-ingress.nft') diff --git a/files/nftables/netdev-ingress.nft b/files/nftables/netdev-ingress.nft new file mode 100755 index 00000000..9e46b15a --- /dev/null +++ b/files/nftables/netdev-ingress.nft @@ -0,0 +1,7 @@ +#!@sbindir@nft -f + +# mind the NIC, it must exists +table netdev filter { + chain loinput { type filter hook ingress device lo priority 0; } +} + -- cgit v1.2.3