From 06a71f9c9b245891c38580a9088be0f8e47b087e Mon Sep 17 00:00:00 2001 From: Frost-Phoenix <67cyril6767@gmail.com> Date: Sun, 17 Mar 2024 13:26:29 +0100 Subject: [PATCH] change firewall config --- modules/core/network.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/core/network.nix b/modules/core/network.nix index ad5353d..3cda36a 100644 --- a/modules/core/network.nix +++ b/modules/core/network.nix @@ -6,8 +6,8 @@ nameservers = [ "1.1.1.1" ]; firewall = { enable = true; - allowedTCPPorts = [ 22 80 443 7777 59010 59011 ]; - allowedUDPPorts = [ 7777 59010 59011 ]; + allowedTCPPorts = [ 22 80 443 59010 59011 ]; + allowedUDPPorts = [ 59010 59011 ]; # allowedUDPPortRanges = [ # { from = 4000; to = 4007; } # { from = 8000; to = 8010; }