MyNixOS website logo
option

services.wstunnel.servers.<name>.settings.restrict-to

Restrictions on the connections that the server will accept. For more flexibility, and the possibility to also allow reverse tunnels, look into the restrict-config option that takes a path to a yaml file.

Declarations
Type
list of (submodule)
Default
[ ]
Example
[
  {
    host = "127.0.0.1";
    port = 51820;
  }
]