about summary refs log tree commit diff
path: root/bundles/firewall/files/etc/nftables.d/50-www.nft
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/firewall/files/etc/nftables.d/50-www.nft')
-rw-r--r--bundles/firewall/files/etc/nftables.d/50-www.nft10
1 files changed, 10 insertions, 0 deletions
diff --git a/bundles/firewall/files/etc/nftables.d/50-www.nft b/bundles/firewall/files/etc/nftables.d/50-www.nft
new file mode 100644
index 0000000..6969f6d
--- /dev/null
+++ b/bundles/firewall/files/etc/nftables.d/50-www.nft
@@ -0,0 +1,10 @@
+#!/usr/sbin/nft -f
+# vim: set ts=4 sw=4:
+table inet filter {
+
+    chain my_filter {
+        tcp dport { http, https } accept \
+        comment "Accept HTTP traffic"
+    }
+
+}