Files
nixconf/modules/sys/firewall.nix
T
2026-06-01 18:15:26 -06:00

13 lines
260 B
Nix

{
networking.firewall = {
enable = true;
allowedTCPPorts = [ 4713 ];
#allowedUDPPorts = [ 80 443 ];
allowedTCPPortRanges = [
{ from = 8000; to = 9000; }
];
allowedUDPPortRanges = [
{ from = 8000; to = 9000; }
];
};
}