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.
- Type
one of "host", "guest"- Default
"host"- Declared
- <nixpkgs/nixos/modules/virtualisation/qemu-vm.nix>