dl-openclaw.is
English
简体中文繁體中文EnglishРусскийفارسی

HomeGuidesRemote access

Remote access

Reaching your home OpenClaw dashboard from outside: the Gateway listens on loopback by default; connect safely with an SSH tunnel or Tailscale Serve, never a port forward, and check with openclaw security audit.

Loopback only by default

A regular install binds the Gateway to the loopback address 127.0.0.1, so only the same machine can connect, on port 18789. The dashboard, chat interface and node connections all use this one port. When bound to anything other than loopback, the Gateway insists on configured authentication and refuses to start without it; onboarding creates a token by default, so even local access is authenticated.

InternetGateway :18789 ? × 127.0.0.1 Loopback only (default)Nobody outside can connect You 127.0.0.1 SSH tunnel or Tailscale ServeIn after auth, inside an encrypted channel 0.0.0.0 Bound to 0.0.0.0 with a port forwardAnyone on the internet can find 18789
Three ways to connect compared

SSH tunnel

If you have SSH, you need nothing else. On your own computer, run:

SSH tunnel
ssh -N -L 18789:127.0.0.1:18789 user@server

Then open http://127.0.0.1:18789/ in your local browser. You still enter the Gateway token or password through the tunnel.

Tailscale Serve

The recommended way. The Gateway still listens on loopback only, and Tailscale decides who gets in:

Tailscale Serve
openclaw gateway --tailscale serve

Then open https://machine.your-tailnet.ts.net/. With gateway.auth.allowTailscale turned on, your Tailscale identity authenticates the dashboard directly, with no token to paste.

Light at the end of a tunnel: remote access should travel an encrypted passage, not leave the front door open
Light at the end of a tunnel: remote access should travel an encrypted passage, not leave the front door open Robert Lamb, CC BY-SA 2.0

Do not do this

From late January to February 2026, security firms found tens of thousands of OpenClaw dashboards on the public internet: Censys counted 21,639 on 31 January, and SecurityScorecard later reported more than 135,000. Many were Gateways their owners had bound to 0.0.0.0 and port-forwarded. Details are in this article.

  • Do not forward 18789 on your router.
  • If you must bind to a LAN address, let a firewall admit only a few fixed IPs.
  • Behind a reverse proxy, configure trusted proxies as documented; do not turn authentication off.

Check when done

Security check
openclaw security audit

It checks common problems such as bind address, authentication and channel permissions, and suggests fixes.

What about Tailscale Funnel?

Funnel publishes the service to the public internet, unlike Serve. Use Serve unless you really need people outside your tailnet to reach it.

Can I use it remotely without a public IP at home?

Yes. An SSH tunnel needs a way to reach the machine; without a public IP, Tailscale is the easiest answer.

Isn't changing the port enough?

No. In Hunt.io's count, about half of the exposed instances were not on 18789 but on ports like 80 and 443, and they were found anyway. Safety comes from authentication and not being exposed, not from the port number.

Read nextUpdate and uninstall

Also worth reading

Topics on this page: OpenClaw remote access, OpenClaw Tailscale, OpenClaw access from outside