MyNixOS website logo
option

virtualisation.forwardPorts.*.from

Controls the direction in which the ports are mapped:

  • "host" means traffic from the host ports is forwarded to the given guest port.
  • "guest" means traffic from the guest ports is forwarded to the given host port.
Declarations
Type
one of "host", "guest"
Default
"host"