nix/modules/system/hardware/firewall.nix

10 lines
135 B
Nix

{ ... }:
{
networking.firewall = {
enable = true;
allowedTCPPorts = [ 53317 3000 ];
allowedUDPPorts = [ 53317 ];
};
}