





















@@ -7,8 +7,6 @@ read_when:
77title: "Discovery and transports"
88---
9910-# Discovery & transports
11-1210OpenClaw has two distinct problems that look similar on the surface:
131114121. **Operator remote control**: the macOS menu bar app controlling a gateway running elsewhere.
@@ -31,7 +29,7 @@ Protocol details:
3129- [Gateway protocol](/gateway/protocol)
3230- [Bridge protocol (legacy)](/gateway/bridge-protocol)
333134-## Why we keep both "direct" and SSH
32+## Why we keep both direct and SSH
35333634- **Direct WS** is the best UX on the same network and within a tailnet:
3735- auto-discovery on LAN via Bonjour
@@ -57,7 +55,7 @@ Target direction:
5755- The **gateway** advertises its WS endpoint via Bonjour when the bundled
5856`bonjour` plugin is enabled. The plugin auto-starts on macOS hosts and is
5957 opt-in elsewhere.
60-- Clients browse and show a “pick a gateway” list, then store the chosen endpoint.
58+- Clients browse and show a "pick a gateway" list, then store the chosen endpoint.
61596260Troubleshooting and beacon details: [Bonjour](/gateway/bonjour).
6361@@ -83,7 +81,7 @@ Security notes:
8381- Bonjour/mDNS TXT records are **unauthenticated**. Clients must treat TXT values as UX hints only.
8482- Routing (host/port) should prefer the **resolved service endpoint** (SRV + A/AAAA) over TXT-provided `lanHost`, `tailnetDns`, or `gatewayPort`.
8583- TLS pinning must never allow an advertised `gatewayTlsSha256` to override a previously stored pin.
86-- iOS/Android nodes should require an explicit “trust this fingerprint” confirmation before storing a first-time pin (out-of-band verification) whenever the chosen route is secure/TLS-based.
84+- iOS/Android nodes should require an explicit "trust this fingerprint" confirmation before storing a first-time pin (out-of-band verification) whenever the chosen route is secure/TLS-based.
87858886Enable/disable/override:
8987@@ -102,7 +100,7 @@ Enable/disable/override:
102100103101### 2) Tailnet (cross-network)
104102105-For London/Vienna style setups, Bonjour won’t help. The recommended “direct” target is:
103+For London/Vienna style setups, Bonjour won't help. The recommended "direct" target is:
106104107105- Tailscale MagicDNS name (preferred) or a stable tailnet IP.
108106@@ -128,7 +126,7 @@ See [Remote access](/gateway/remote).
128126Recommended client behavior:
1291271301281. If a paired direct endpoint is configured and reachable, use it.
131-2. Else, if discovery finds a gateway on `local.` or the configured wide-area domain, offer a one-tap “Use this gateway” choice and save it as the direct endpoint.
129+2. Else, if discovery finds a gateway on `local.` or the configured wide-area domain, offer a one-tap "Use this gateway" choice and save it as the direct endpoint.
1321303. Else, if a tailnet DNS/IP is configured, try direct.
133131 For mobile nodes on tailnet/public routes, direct means a secure endpoint, not plaintext remote `ws://`.
1341324. Else, fall back to SSH.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。