{
  "title": "Network model",
  "content": "Source: https://docs.openclaw.ai/gateway/network-model\n\nMost operations flow through the Gateway (`openclaw gateway`), a single long-running\nprocess that owns channel connections and the WebSocket control plane.\n\n* One Gateway per host is recommended. It is the only process allowed to own the WhatsApp Web session. For rescue bots or strict isolation, run multiple gateways with isolated profiles and ports. See [Multiple gateways](/gateway/multiple-gateways).\n* Loopback first: the Gateway WS defaults to `ws://127.0.0.1:18789`. The wizard generates a gateway token by default, even for loopback. For tailnet access, run `openclaw gateway --bind tailnet --token ...` because tokens are required for non-loopback binds.\n* Nodes connect to the Gateway WS over LAN, tailnet, or SSH as needed. The legacy TCP bridge is deprecated.\n* Canvas host is an HTTP file server on `canvasHost.port` (default `18793`) serving `/__openclaw__/canvas/` for node WebViews. See [Gateway configuration](/gateway/configuration) (`canvasHost`).\n* Remote use is typically SSH tunnel or tailnet VPN. See [Remote access](/gateway/remote) and [Discovery](/gateway/discovery).",
  "code_samples": [],
  "headings": [
    {
      "level": "h2",
      "text": "Core rules",
      "id": "core-rules"
    }
  ],
  "url": "llms-txt#network-model",
  "links": []
}