networking.firewall.allowedUDPPortRanges
NixOS option
Range of open UDP ports.
type: list of attribute set of 16 bit unsigned integer; between 0 and 65535 (both inclusive)Default
[ ]
Example
declared in: nixos/modules/services/networking/firewall.nixView source on NixOS/nixpkgs →[
{
from = 60000;
to = 61000;
}
]