惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

P
Proofpoint News Feed
U
Unit 42
V
Visual Studio Blog
D
DataBreaches.Net
F
Fortinet All Blogs
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
The GitHub Blog
The GitHub Blog
Y
Y Combinator Blog
月光博客
月光博客
大猫的无限游戏
大猫的无限游戏
T
The Blog of Author Tim Ferriss
GbyAI
GbyAI
博客园 - 叶小钗
Blog — PlanetScale
Blog — PlanetScale
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
MongoDB | Blog
MongoDB | Blog
The Cloudflare Blog
云风的 BLOG
云风的 BLOG
D
Docker
G
Google Developers Blog
罗磊的独立博客
博客园 - 三生石上(FineUI控件)
小众软件
小众软件
S
SegmentFault 最新的问题

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4
docs: clarify private ws node setup · openclaw/openclaw@b...
steipete · 2026-04-24 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -77,7 +77,9 @@ Options:

7777

For a node connecting to a non-loopback `ws://` Gateway on a trusted private

7878

network, set `OPENCLAW_ALLOW_INSECURE_PRIVATE_WS=1`. Without it, node startup

7979

fails closed and asks you to use `wss://`, an SSH tunnel, or Tailscale.

80-

`openclaw node install` persists this opt-in into the supervised node service.

80+

This is a process-environment opt-in, not an `openclaw.json` config key.

81+

`openclaw node install` persists it into the supervised node service when it is

82+

present in the install command environment.

8183
8284

## Service (background)

8385
Original file line numberDiff line numberDiff line change

@@ -28,6 +28,8 @@ openclaw onboard --mode remote --remote-url wss://gateway-host:18789

2828
2929

For plaintext private-network `ws://` targets (trusted networks only), set

3030

`OPENCLAW_ALLOW_INSECURE_PRIVATE_WS=1` in the onboarding process environment.

31+

There is no `openclaw.json` equivalent for this client-side transport

32+

break-glass.

3133
3234

Non-interactive custom provider:

3335
Original file line numberDiff line numberDiff line change

@@ -319,7 +319,12 @@ See [Plugins](/tools/plugin).

319319

- `controlUi.allowedOrigins`: explicit browser-origin allowlist for Gateway WebSocket connects. Required when browser clients are expected from non-loopback origins.

320320

- `controlUi.dangerouslyAllowHostHeaderOriginFallback`: dangerous mode that enables Host-header origin fallback for deployments that intentionally rely on Host-header origin policy.

321321

- `remote.transport`: `ssh` (default) or `direct` (ws/wss). For `direct`, `remote.url` must be `ws://` or `wss://`.

322-

- `OPENCLAW_ALLOW_INSECURE_PRIVATE_WS=1`: client-side break-glass override that allows plaintext `ws://` to trusted private-network IPs; default remains loopback-only for plaintext.

322+

- `OPENCLAW_ALLOW_INSECURE_PRIVATE_WS=1`: client-side process-environment

323+

break-glass override that allows plaintext `ws://` to trusted private-network

324+

IPs; default remains loopback-only for plaintext. There is no `openclaw.json`

325+

equivalent, and browser private-network config such as

326+

`browser.ssrfPolicy.dangerouslyAllowPrivateNetwork` does not affect Gateway

327+

WebSocket clients.

323328

- `gateway.remote.token` / `.password` are remote-client credential fields. They do not configure gateway auth by themselves.

324329

- `gateway.push.apns.relay.baseUrl`: base HTTPS URL for the external APNs relay used by official/TestFlight iOS builds after they publish relay-backed registrations to the gateway. This URL must match the relay URL compiled into the iOS build.

325330

- `gateway.push.apns.relay.timeoutMs`: gateway-to-relay send timeout in milliseconds. Defaults to `10000`.

Original file line numberDiff line numberDiff line change

@@ -138,7 +138,9 @@ Short version: **keep the Gateway loopback-only** unless you’re sure you need

138138
139139

- **Loopback + SSH/Tailscale Serve** is the safest default (no public exposure).

140140

- Plaintext `ws://` is loopback-only by default. For trusted private networks,

141-

set `OPENCLAW_ALLOW_INSECURE_PRIVATE_WS=1` on the client process as break-glass.

141+

set `OPENCLAW_ALLOW_INSECURE_PRIVATE_WS=1` on the client process as

142+

break-glass. There is no `openclaw.json` equivalent; this must be process

143+

environment for the client making the WebSocket connection.

142144

- **Non-loopback binds** (`lan`/`tailnet`/`custom`, or `auto` when loopback is unavailable) must use gateway auth: token, password, or an identity-aware reverse proxy with `gateway.auth.mode: "trusted-proxy"`.

143145

- `gateway.remote.token` / `.password` are client credential sources. They do **not** configure server auth by themselves.

144146

- Local call paths can use `gateway.remote.*` as fallback only when `gateway.auth.*` is unset.

Original file line numberDiff line numberDiff line change

@@ -840,7 +840,9 @@ If `gateway.auth.token` / `gateway.auth.password` is explicitly configured via

840840

SecretRef and unresolved, resolution fails closed (no remote fallback masking).

841841

Optional: pin remote TLS with `gateway.remote.tlsFingerprint` when using `wss://`.

842842

Plaintext `ws://` is loopback-only by default. For trusted private-network

843-

paths, set `OPENCLAW_ALLOW_INSECURE_PRIVATE_WS=1` on the client process as break-glass.

843+

paths, set `OPENCLAW_ALLOW_INSECURE_PRIVATE_WS=1` on the client process as

844+

break-glass. This is intentionally process environment only, not an

845+

`openclaw.json` config key.

844846
845847

Local device pairing:

846848
Original file line numberDiff line numberDiff line change

@@ -152,6 +152,10 @@ OPENCLAW_ALLOW_INSECURE_PRIVATE_WS=1 \

152152

openclaw node restart

153153

```

154154
155+

`OPENCLAW_ALLOW_INSECURE_PRIVATE_WS=1` is process environment, not an

156+

`openclaw.json` setting. `openclaw node install` stores it in the LaunchAgent

157+

environment when it is present on the install command.

158+
155159

Approve the node from the Gateway host:

156160
157161

```bash