virtualisation.forwardPorts.*.from

NixOS option

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.

type: one of "host", "guest"
Default
"host"
declared in: nixos/modules/virtualisation/qemu-vm.nixView source on NixOS/nixpkgs →