nixpkgs/nixos/doc/manual
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
..
administration nixos/manual: Add chapter about instance unit overrides 2023-08-13 14:40:25 +02:00
configuration doc: avoid 'simply' () 2023-11-09 21:48:05 +01:00
development doc: avoid 'simply' () 2023-11-09 21:48:05 +01:00
installation manual: Don't suggest exposing VM port to local network. 2023-11-10 22:29:12 +01:00
release-notes Merge pull request from ElvishJerricco/systemd-stage-1-testing-backdoor 2023-11-10 14:08:07 +01:00
common.nix nixos manual: extract some build paths 2023-07-25 17:03:12 +07:00
contributing-to-this-manual.chapter.md Merge pull request from doronbehar/nixos/manpages 2023-08-16 15:49:49 +00:00
default.nix nixos/doc: small rephrase in documentation of documentation 2023-08-16 06:24:37 +00:00
manual.md
nixos-options.md
preface.md
README.md
shell.nix nixpkgs/NixOS manuals: devmode feature 2023-07-25 17:03:15 +07:00