MyNixOS website logo
option

networking.firewall.allowedTCPPorts

List of TCP ports on which incoming connections are accepted.

Declarations
Type
list of 16 bit unsigned integer; between 0 and 65535 (both inclusive)
Default
[ ]
Example
[
  22
  80
]