change firewall config

This commit is contained in:
Frost-Phoenix 2024-03-17 12:42:23 +01:00
parent 549d485d3e
commit 15cd3173d1

View file

@ -6,8 +6,8 @@
nameservers = [ "1.1.1.1" ]; nameservers = [ "1.1.1.1" ];
firewall = { firewall = {
enable = true; enable = true;
allowedTCPPorts = [ 22 80 443 59010 59011 7777 ]; allowedTCPPorts = [ 22 80 443 7777 59010 59011 ];
allowedUDPPorts = [ 59010 59011 7777 ]; allowedUDPPorts = [ 7777 59010 59011 ];
# allowedUDPPortRanges = [ # allowedUDPPortRanges = [
# { from = 4000; to = 4007; } # { from = 4000; to = 4007; }
# { from = 8000; to = 8010; } # { from = 8000; to = 8010; }