Caricamento in corso...
Caricamento in corso...
Last synced: Today, 22:00
Technical reference for the OpenClaw framework. Real-time synchronization with the official documentation engine.
Use this file to discover all available pages before exploring further.
OpenClaw can auto-configure Tailscale Serve (tailnet) or Funnel (public) for the Gateway dashboard and WebSocket port. This keeps the Gateway bound to loopback while Tailscale provides HTTPS, routing, and (for Serve) identity headers.
servetailscale serve127.0.0.1funneltailscale funneloffStatus and audit output use Tailscale exposure for this OpenClaw Serve/Funnel mode.
offSet
gateway.auth.modenonetokenOPENCLAW_GATEWAY_TOKENpasswordOPENCLAW_GATEWAY_PASSWORDtrusted-proxyWhen
tailscale.mode = "serve"gateway.auth.allowTailscaletruetailscale-user-loginx-forwarded-fortailscale whoisx-forwarded-forx-forwarded-protox-forwarded-host/v1/*/tools/invoke/api/channels/*nonegateway.auth.allowTailscalegateway.auth.allowTailscale: falsegateway.auth.mode: "token""password"json5{ gateway: { bind: "loopback", tailscale: { mode: "serve" }, }, }
Open:
https://<magicdns>/gateway.controlUi.basePathUse this when you want the Gateway to listen directly on the Tailnet IP (no Serve/Funnel).
json5{ gateway: { bind: "tailnet", auth: { mode: "token", token: "your-token" }, }, }
Connect from another Tailnet device:
http://<tailscale-ip>:18789/ws://<tailscale-ip>:18789json5{ gateway: { bind: "loopback", tailscale: { mode: "funnel" }, auth: { mode: "password", password: "replace-me" }, }, }
Prefer
OPENCLAW_GATEWAY_PASSWORDbashopenclaw gateway --tailscale serve openclaw gateway --tailscale funnel --auth password
tailscaletailscale.mode: "funnel"passwordgateway.tailscale.resetOnExittailscale servetailscale funnelgateway.bind: "tailnet"gateway.bind: "auto"tailnetIf you run the Gateway on one machine but want to drive a browser on another machine, run a node host on the browser machine and keep both on the same tailnet. The Gateway will proxy browser actions to the node; no separate control server or Serve URL needed.
Avoid Funnel for browser control; treat node pairing like operator access.
443844310000tailscale servetailscale funnel© 2024 TaskFlow Mirror
Powered by TaskFlow Sync Engine