13 lines
260 B
Nix
13 lines
260 B
Nix
{
|
|
networking.firewall = {
|
|
enable = true;
|
|
allowedTCPPorts = [ 4713 ];
|
|
#allowedUDPPorts = [ 80 443 ];
|
|
allowedTCPPortRanges = [
|
|
{ from = 8000; to = 9000; }
|
|
];
|
|
allowedUDPPortRanges = [
|
|
{ from = 8000; to = 9000; }
|
|
];
|
|
};
|
|
} |