services.zapret2.firewall.udpPorts

NixOS option

A list of destination UDP ports that are routed to Zapret2 at the firewall level. Setting this option to null (the default) means all UDP connections are routed to Zapret2. Setting this option to an empty list disables routing to Zapret2 for any UDP connection.

type: null or (list of 16 bit unsigned integer; between 0 and 65535 (both inclusive))
Default
null
Example
[
  443
]
declared in: nixos/modules/services/networking/zapret2.nixView source on NixOS/nixpkgs →