0010: Cloudflare Tunnel for sharing

On this page

Status: accepted

Context

Sharing a site needs a public HTTPS address without opening ports, ideally free and without an account for quick use.

Decision

Use cloudflared: quick tunnels (trycloudflare.com, no account) by default, and a named tunnel per computer through the Cloudflare API for your own domain. Access rules (password, IP allowlist) are enforced by Short Leash's share listener.

Consequences

Free and reliable. Quick tunnels have Cloudflare's limits (about 200 concurrent requests, no server-sent events). Own-domain sharing needs a Cloudflare account and API token.