summaryrefslogtreecommitdiff
path: root/daeva
diff options
context:
space:
mode:
authorKenny Ballou <kb@devnulllabs.io>2021-05-14 10:44:37 -0600
committerKenny Ballou <kb@devnulllabs.io>2021-05-14 10:44:37 -0600
commit4476044c1a03d015de45e587b576857db44042fe (patch)
tree3ff91b41ec8bc3f4f5b4a897b6cfe263c818f30a /daeva
parent783a7445505d79a9b770e59280aaa510785b2d41 (diff)
downloadcfg.nix-4476044c1a03d015de45e587b576857db44042fe.tar.gz
cfg.nix-4476044c1a03d015de45e587b576857db44042fe.tar.xz
firewall: add another http alt port
Signed-off-by: Kenny Ballou <kb@devnulllabs.io>
Diffstat (limited to 'daeva')
-rw-r--r--daeva/nftables-rules.nft1
1 files changed, 1 insertions, 0 deletions
diff --git a/daeva/nftables-rules.nft b/daeva/nftables-rules.nft
index 54f9f16..220b0da 100644
--- a/daeva/nftables-rules.nft
+++ b/daeva/nftables-rules.nft
@@ -11,6 +11,7 @@ table inet filter {
udp dport domain ip saddr 172.16.0.0/12 counter accept
tcp dport 3000 ip saddr 127.0.0.1/8 counter accept
tcp dport 8000 ip saddr 127.0.0.1/8 counter accept
+ tcp dport 8080 ip saddr { 127.0.0.1/8, 10.0.0.0/8 } counter accept
tcp dport 1714-1764 ip saddr 10.0.0.0/8 counter accept comment "KDEConnect"
udp dport 1714-1764 ip saddr 10.0.0.0/8 counter accept comment "KDEConnect"
tcp dport http-alt ip saddr { 127.0.0.1/8, 10.0.0.0/8 } counter accept