change firewall config

This commit is contained in:
Frost-Phoenix 2024-03-17 13:26:29 +01:00
parent 15cd3173d1
commit 06a71f9c9b

View file

@ -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; }