networking.firewall.allowedTCPPortRanges
A range of TCP ports on which incoming connections are accepted.
- Type
list of attribute set of 16 bit unsigned integer; between 0 and 65535 (both inclusive)- Default
[ ]- Example
[ { from = 8999; to = 9003; } ]- Declared
- <nixpkgs/nixos/modules/services/networking/firewall.nix>