From f76846d8f33746990d766f4b6a727aaec5bb1248 Mon Sep 17 00:00:00 2001 From: tomoron Date: Mon, 3 Feb 2025 17:20:29 +0100 Subject: [PATCH] MOAR ports on server --- hosts/server.nix | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/hosts/server.nix b/hosts/server.nix index 9487229..ca8392e 100644 --- a/hosts/server.nix +++ b/hosts/server.nix @@ -22,8 +22,23 @@ ]; boot.supportedFilesystems = [ "zfs" ]; - networking.firewall.allowedTCPPorts = [80 443 5000 8083 137 138 139 445 548 3702 5357]; - networking.firewall.allowedUDPPorts = [80 443 5000 8083 137 138 139 445 548 3702 5357]; + networking.firewall.allowedTCPPorts = [ + 80 443 #http server + 5000 #frigate + 8083 137 138 139 445 548 3702 5357 #prob some samba shit + ]; + networking.firewall.allowedUDPPorts = [ + 80 443 #http server + 5000 #frigate + 8083 137 138 139 445 548 3702 5357 #prob some samba shit + ]; + + networking.firewall.allowedUDPPortRanges = [ + {from = 47950; to = 49000;} + ]; + networking.firewall.allowedTCPPortRanges = [ + {from = 47950; to = 49000;} + ]; networking = { interfaces.eth0.ipv4.addresses = [ {