MyNixOS website logo
option

programs.ssh.matchBlocks.<name>.localForwards

Specify local port forwardings. See ssh_config(5) for LocalForward.

Declarations
Type
list of (submodule)
Default
[ ]
Example
[
  {
    bind.port = 8080;
    host.address = "10.0.0.13";
    host.port = 80;
  }
];