Add ports

This commit is contained in:
muon 2024-12-19 21:59:30 +00:00
parent 15a3ca5e14
commit 357e290761
4 changed files with 42 additions and 22 deletions

View file

@ -6,5 +6,23 @@
programs.gamemode.enable = true;
users.users.${config.mods.user.name}.extraGroups =
lib.mkAfter [ "gamemode" ];
networking.firewall.allowedTCPPorts = [ 3075 34000 ];
networking.firewall.allowedTCPPortRanges = [
{
from = 27015;
to = 27030;
}
{
from = 27036;
to = 27037;
}
];
networking.firewall.allowedUDPPorts = [ 3075 4380 27036 34000 ];
networking.firewall.allowedUDPPortRanges = [{
from = 27000;
to = 27031;
}];
};
}