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