summaryrefslogtreecommitdiffstats
path: root/projectroot
diff options
context:
space:
mode:
authorAlexander Dahl <ada@thorsis.com>2018-04-06 11:07:29 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2018-04-09 10:26:16 +0200
commitc951bf3775a3b65c28e661f91a40d57e40bc2640 (patch)
treeb29ac3804334b60a80670dd4174002fd594ae958 /projectroot
parent86aeee28e5b076617126e568c5dc11d4d60d1482 (diff)
downloadptxdist-c951bf3775a3b65c28e661f91a40d57e40bc2640.tar.gz
ptxdist-c951bf3775a3b65c28e661f91a40d57e40bc2640.tar.xz
nftables: Add example config file
This adds only empty chains, but it will be needed for the bbinit startscript not to fail. User will probably overwrite it with something more useful. Signed-off-by: Alexander Dahl <ada@thorsis.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'projectroot')
-rwxr-xr-xprojectroot/etc/nftables.conf15
1 files changed, 15 insertions, 0 deletions
diff --git a/projectroot/etc/nftables.conf b/projectroot/etc/nftables.conf
new file mode 100755
index 000000000..2c09327d7
--- /dev/null
+++ b/projectroot/etc/nftables.conf
@@ -0,0 +1,15 @@
+#!/usr/sbin/nft -f
+
+flush ruleset
+
+table filter {
+ chain input {
+ type filter hook input priority 0;
+ }
+ chain forward {
+ type filter hook forward priority 0;
+ }
+ chain output {
+ type filter hook output priority 0;
+ }
+}