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.
SSH tunnel
If you have SSH, you need nothing else. On your own computer, run:
ssh -N -L 18789:127.0.0.1:18789 user@serverThen 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:
openclaw gateway --tailscale serveThen 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.

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
openclaw security auditIt 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