nix.firewall.allowedUDPPorts

NixOS option

UDP ports to which traffic is allowed. Specifying no ports will allow all UDP traffic

type: list of ((optionally newline-terminated) single-line string or 16 bit unsigned integer; between 0 and 65535 (both inclusive))
Default
[ ]
Example
[
  53
]
declared in: nixos/modules/services/system/nix-daemon-firewall.nixView source on NixOS/nixpkgs →