Files
nixconf/modules/sys/firewall.nix
T
2026-08-09 14:02:28 -06:00

19 lines
340 B
Nix

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