change firewall config

This commit is contained in:
Frost-Phoenix 2024-03-17 12:14:09 +01:00
parent 5331a7842b
commit 549d485d3e

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 ]; allowedTCPPorts = [ 22 80 443 59010 59011 7777 ];
allowedUDPPorts = [ 59010 59011 ]; allowedUDPPorts = [ 59010 59011 7777 ];
# allowedUDPPortRanges = [ # allowedUDPPortRanges = [
# { from = 4000; to = 4007; } # { from = 4000; to = 4007; }
# { from = 8000; to = 8010; } # { from = 8000; to = 8010; }