Skip to content

Writing criteria for this guide

Every "for Mere Mortals" guide is written to the same nine-point standard, so a reader who trusts one can trust the rest. Here it is, with the verification notes for this particular guide below.

  1. Fix it first. Reader outcomes lead, not action items: each chapter opens by naming the outcome it delivers, shows a check the reader can run to confirm they got it, and a reasonable reader finishes able to state what was done, what it means, and what to try next.
  2. Plain language. Short sentences, everyday vocabulary, technical terms defined on first use. No slang, and no idioms that only make sense in one country — the reader may be translating as they go.
  3. No dead ends. A guide never tells the reader to do something it cannot show them how to verify. Every claim a reader relies on — an install, a command, an output — is something this guide demonstrates or clearly labels documented-only below.
  4. Live-verified where it matters. Procedures are run for real in the guide's lab wherever the build machine allows it, and the transcripts kept in the repository are the evidence. What could not be run is listed honestly below, never presented as if it had been.
  5. General audiences. Nothing in this guide — examples, fixtures, names, addresses — is modelled on any particular reader or author's real life, network, or organisations. The lab's service is a made-up demo page, served to itself.
  6. Standalone. A reader needs this guide, its lab, and nothing else. Where another guide would genuinely help, it is pointed to once, by name, and the chapter still completes without it.
  7. Honest about limits. Chapter 11 names what the tool cannot do: Cloudflare reads the traffic by design, the public door is web-shaped, quick tunnels are a bench, a stopped process is a down service, an account is a dependency, and no tunnel authenticates anybody.
  8. The ethics rule is in the text, early. Chapter 1 and the README state the rule plainly — publish only services you would be content to defend as public — before any procedure depends on it, and later chapters point back to it where a tunnel would make publishing something careless easy.
  9. Builds clean. The site builds with MkDocs in strict mode with no warnings, and a fresh reader following the chapters in order reaches the stated outcome of each.

Verification notes for this guide

The build machine is a 2-CPU, 7.7 GB Ubuntu 24.04 sandbox. cloudflared 2026.10.5 was downloaded as the official static binary from Cloudflare's GitHub releases and run from a scratch folder — no package installed, no account used. The lab's origin was a single invented demo page served by Python's built-in web server on loopback only (cloudflared-lab/site/). All transcripts live in cloudflared-lab/transcripts/; the config files the lab interrogated are in cloudflared-lab/config/.

Run for real, with transcripts as evidence:

  • Install and version; the top-level and tunnel help text (t00).
  • The local origin serving the demo page on 127.0.0.1:18099, with a 200 check (t01).
  • Two quick-tunnel attempts and their exact failures: the provisioning call lost in the sandbox's HTTP proxy (timeout), then refused outright with 403 once the proxy was bypassed, confirmed independently with curl against api.trycloudflare.com — "Your request was blocked." (t02, t03). The same refusal under --protocol http2, proving provisioning precedes the transport choice (t09).
  • Ingress validation, offline: a well-formed config answered OK; a missing catch-all, a scheme-less service address and a broken YAML file each refused with its exact message (t04).
  • Ingress rule matching, offline: four URLs put to the lab's config — a hostname match, a hostname-and-path match, a path miss falling through to the 404 catch-all, and an unknown hostname doing the same (t05).
  • The named-tunnel guard: tunnel list, tunnel create and tunnel run with no cert.pem present, each failing with the full origin-certificate error (t06).
  • Edge reachability probes: DNS answers for both argotunnel regions, a TCP connection to port 7844 accepted, and an outbound UDP send refused by the operating system itself (Errno 1 Operation not permitted) — QUIC was impossible from this machine (t07, probe program in cloudflared-lab/udp-probe.py).
  • The login handshake's first half: the dashboard URL printed and cloudflared waiting; no cert.pem written (t08).
  • ingress validate with no config at all: it reads rules as JSON from standard input and blocks — fed closed stdin it errors, fed valid JSON it answers OK (t10). A config using the built-in http_status:410 and hello_world services also validates OK (t11).

Documented only — described from Cloudflare's documentation and cloudflared's own help text, not run, and the text does not claim otherwise:

  • A quick tunnel actually serving visitors. Cloudflare's provisioning refused the lab's network with a 403, so no trycloudflare.com name was ever issued to the lab. The successful quick-tunnel behaviour in chapter 4 is written from the documentation and labelled as such there.
  • Everything past the login handshake: completing login in a browser, tunnel create succeeding, tunnel route dns writing a record, tunnel run holding live connections, error 1033 and 502 as seen by a visitor, and deleting a tunnel. These need the reader's own Cloudflare account and domain, which the lab does not have.
  • Installing as a system service (service install), the metrics//ready endpoint of a running connector, package-manager, Docker, macOS and Windows installs.
  • Cloudflare Access gating, WARP/private-network routing, token-run (remotely managed) tunnels, and load-balancer routes.
  • The comparison tools in chapter 10 are characterised, not run.

Fixtures are this guide's own and deliberately generic: one invented demo page for a made-up project, served by the lab to itself on loopback, and example hostnames under example.org. No example is modelled on any real person, network, service or organisation, and the only traffic the lab attempted to publish was its own demo page to itself.