mirror of
https://codeberg.org/muon/home.git
synced 2025-12-06 08:07:45 +00:00
Add ports
This commit is contained in:
parent
15a3ca5e14
commit
357e290761
4 changed files with 42 additions and 22 deletions
|
|
@ -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;
|
||||
}];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue