MyNixOS website logo
option

networking.firewall.interfaces.<name>.allowedUDPPortRanges

Range of open UDP ports.

Declarations
Type
list of attribute set of 16 bit unsigned integer; between 0 and 65535 (both inclusive)
Default
[ ]
Example
[
  {
    from = 60000;
    to = 61000;
  }
]