services.zapret2.firewall.tcpPorts
NixOS option
A list of destination TCP ports that are routed to Zapret2 at the firewall level. Setting this option to null (the default) means all TCP connections are routed to Zapret2. Setting this option to an empty list disables routing to Zapret2 for any TCP connection.
type: null or (list of 16 bit unsigned integer; between 0 and 65535 (both inclusive))Default
null
Example
declared in: nixos/modules/services/networking/zapret2.nixView source on NixOS/nixpkgs →[ 80 443 ]