summaryrefslogtreecommitdiff
path: root/services/nftables-rules.nft
diff options
context:
space:
mode:
Diffstat (limited to 'services/nftables-rules.nft')
-rw-r--r--services/nftables-rules.nft3
1 files changed, 3 insertions, 0 deletions
diff --git a/services/nftables-rules.nft b/services/nftables-rules.nft
index d7923cb..d049508 100644
--- a/services/nftables-rules.nft
+++ b/services/nftables-rules.nft
@@ -9,6 +9,8 @@ table inet filter {
ip protocol icmp counter accept
ip6 nexthdr ipv6-icmp counter accept
udp dport domain ip saddr 172.0.0.1/8 counter accept
+ tcp dport 8000 ip saddr 127.0.0.1/8 counter accept
+ tcp dport http-alt ip saddr 127.0.0.1/8 counter accept
tcp dport ssh counter accept
counter
}
@@ -43,6 +45,7 @@ table inet filter {
tcp dport rsync counter accept
udp dport rsync counter accept
tcp dport 8000 counter accept
+ tcp dport http-alt counter accept
counter
}
}