From 15cd3173d115f2cddb081d769513f112a57819a8 Mon Sep 17 00:00:00 2001 From: Frost-Phoenix <67cyril6767@gmail.com> Date: Sun, 17 Mar 2024 12:42:23 +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 f2c0134..ad5353d 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 59010 59011 7777 ]; - allowedUDPPorts = [ 59010 59011 7777 ]; + allowedTCPPorts = [ 22 80 443 7777 59010 59011 ]; + allowedUDPPorts = [ 7777 59010 59011 ]; # allowedUDPPortRanges = [ # { from = 4000; to = 4007; } # { from = 8000; to = 8010; }