Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 12 additions & 7 deletions guides/local-tunnels.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -191,17 +191,22 @@ configuration rather than disabling host checks globally.

Requests carrying `Origin` must name the exact HTTPS tunnel origin. Cross-origin
browser API calls and embedding are rejected even in Public mode; setting CORS
headers on the local app does not bypass the tunnel boundary. Public native HTTP
requires exactly one explicit intent header and no Origin or Fetch Metadata headers:
headers on the local app does not bypass the tunnel boundary.

Public tunnels accept webhooks and API clients directly. A request with no
`Origin` and no Fetch Metadata (`Sec-Fetch-*`) headers goes straight to the
local app, without the browser check:

```bash
curl -H 'X-Rigbox-Tunnel-Client: native' "$TUNNEL_URL/healthz"
curl "$TUNNEL_URL/healthz"
curl -X POST -H 'Content-Type: application/json' -d '{"event":"test"}' "$TUNNEL_URL/webhook"
```

This header is removed before forwarding. It does not authenticate the caller;
Public mode still permits anonymous access. Webhook providers that cannot set
the header are unsupported. Application WebSockets require the exact tunnel
origin and a completed browser boundary check; native WebSockets are unsupported.
Public mode permits anonymous access, so verify webhook signatures in your app.
Private and invited tunnels accept only signed-in browsers. The older
`X-Rigbox-Tunnel-Client: native` header is still accepted and is removed before
forwarding. Application WebSockets require the exact tunnel origin and a
completed browser boundary check; native WebSockets are unsupported.
Service workers, PWAs, and Web Workers are unsupported.

The connector permits 16 concurrent flows with shared bandwidth of approximately
Expand Down
Loading