Skip to content

fix(cli): bind reach create ports to 127.0.0.1 - #25

Draft
todie wants to merge 1 commit into
mainfrom
fix/create-bind-localhost
Draft

todie wants to merge 1 commit into
mainfrom
fix/create-bind-localhost

Conversation

@todie

@todie todie commented Nov 11, 2026

Copy link
Copy Markdown
Member

Follow-up to #20, which only covers docker-compose.yml. reach create hard-coded host_ip: 0.0.0.0 for 5900/6080/8400/8401, so the CLI path still exposed unauthenticated noVNC and the supervisor API to the LAN.

Verified (live, rootless docker, image built from #21/#24)

ss -ltnp after reach create:

  • before: 0.0.0.0:6080 0.0.0.0:5900 0.0.0.0:8401 0.0.0.0:8400
  • after: 127.0.0.1:6080 127.0.0.1:5900 127.0.0.1:8401 127.0.0.1:8400
  • curl 127.0.0.1:6080/vnc.html -> 200; curl <LAN ip>:8400/health -> connection refused.

Verified with #19 applied locally (this branch alone cannot reach the rootless socket). --extra-port mappings are loopback too. Anyone who needs a LAN bind should use an SSH tunnel; a flag can follow if wanted.

reach create published 5900/6080/8400/8401 on 0.0.0.0, exposing unauthenticated
noVNC and the supervisor API to the LAN. Bind to loopback, matching the
docker-compose change.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant