nixpkgs/nixos/doc/manual/installation
Niklas Hambüchen 5d73d954cd manual: Don't suggest exposing VM port to local network.
The setting

    QEMU_NET_OPTS="hostfwd=tcp::2222-:22"

caused the VM's port 2222 to be advertised on the host as
`0.0.0.0:2222`, thus anybody in the local network of the host
could SSH into the VM.
Instead, port-forward to localhost only.

Use `127.0.0.1` also on the VM side, otherwise connections to
services that, in the VM, bind to `127.0.0.1` only
(doing the safe approach) do not work.

See e.g. https://github.com/NixOS/nixpkgs/issues/100192
for more info why localhost listening is the best default.
2023-11-10 22:29:12 +01:00
..
building-images-via-systemd-repart.chapter.md nixos/image: move docs into manual 2023-10-31 11:27:56 +01:00
building-nixos.chapter.md nixos: fix typos 2022-12-17 19:31:14 -05:00
changing-config.chapter.md manual: Don't suggest exposing VM port to local network. 2023-11-10 22:29:12 +01:00
installation.md nixos/image: move docs into manual 2023-10-31 11:27:56 +01:00
installing-behind-a-proxy.section.md
installing-from-other-distro.section.md doc,nixos/doc: unescape double quotes 2022-12-27 17:13:49 +01:00
installing-kexec.section.md doc,nixos/doc: unescape apostrophes 2022-12-27 17:13:47 +01:00
installing-pxe.section.md doc: avoid 'simply' (#266434) 2023-11-09 21:48:05 +01:00
installing-usb.section.md doc,nixos/doc: unescape double quotes 2022-12-27 17:13:49 +01:00
installing-virtualbox-guest.section.md doc,nixos/doc: unescape double quotes 2022-12-27 17:13:49 +01:00
installing.chapter.md nixos/manual: rectify partitioning commands for UEFI/GPT 2023-05-17 21:28:11 +02:00
obtaining.chapter.md nixos/doc: improve install instructions 2022-10-26 14:22:15 +02:00
upgrading.chapter.md nixos/doc/manual/installation: update the upgrading chapter for 23.05 2023-05-30 16:42:53 +02:00