cloudflared (Cloudflare Tunnel, WARP)
Common parts of every card (states, backoff, Unit and ExecReload, Test config, manual commands) are described in Monitor window.
| Detected by | systemd units cloudflared*, warp-svc or binaries cloudflared, warp-svc |
| Read every | 2 minutes while the Monitor window shows the tab |
| Active probe | yes, off by default |
| Test config | cloudflared tunnel --config <path> ingress validate |
| Manual commands | up to 2 |
What the card reads and shows
Section titled “What the card reads and shows”Every cloudflared process (systemd units, processes started by hand; processes in containers are only counted) and the WARP client warp-svc.
- Processes from
/proc(up to 4 read in detail): mode (tunnel run, Quick Tunnel--url,access,proxy-dns), a closed list of options (--config,--credentials-file,--metrics,--protocol,--loglevel,--logfile,--origincert,--url,--hostname,--edge-ip-version,--region,--token-file,--pidfile,--no-autoupdate,--post-quantum), the tunnel name afterrunonly when it is up to 64 characters of[A-Za-z0-9._-]. Where a tunnel token is (--tokenin argv,TUNNEL_TOKENorTUNNEL_TOKEN_FILEin the environment,--token-file,Environment=of the unit): only that it is there, never its value. From the environment onlyTUNNEL_METRICSandTUNNEL_TRANSPORT_PROTOCOL. Thehidepidoption of/proc. - config.yml from
--config, else the directories cloudflared searches (~/.cloudflared,~/.cloudflare-warp,~/cloudflare-warp,/etc/cloudflared,/usr/local/etc/cloudflaredof the process’s account), read on the host byyaml.awkto a closed list:tunnel,credentials-file,protocol,metrics,loglevel,logfile,no-autoupdate,origincert,edge-ip-version,url, per ingress rulehostname,path,service,originRequest.noTLSVerify, and top-leveloriginRequest.noTLSVerify,originRequest.originServerName,warp-routing.enabled. Nevertokenor other keys (only counted). - Origins: whether a local service of each ingress rule (
http,https,tcp,ssh,rdp,smbon localhost, 127.x,[::1], 0.0.0.0;unix:sockets) listens on this host (/proc/net/tcp*,/proc/net/unix). - Secret files: the credentials file (
<tunnel UUID>.json),cert.pem, the--token-file: owner and mode (ls -lnd), never their content. - systemd: units
cloudflared*andwarp-svc(state, result, restarts, main pid, enabled, whetherEnvironment=holdsTUNNEL_TOKENand whether there areEnvironmentFiles=). - Packages: versions of
cloudflaredandcloudflare-warpfrom/var/lib/dpkg/status, or fromrpm -qwith the active probe only. - Journal of
cloudflared*units of the last 24 h (up to 5000 lines): counts and time of the last line of known kinds (connections registered and lost, retries, serve errors, QUIC errors, port 7844, origin unreachable, Unauthorized, other ERR/WRN), edge locations and protocols of registered connections. No line leaves the host.
Errors: /ready answers 503 (no edge connection), a local origin does not listen, the last ingress rule is not a catch-all, a failed unit, Unauthorized in the journal.
Warnings: fewer than 4 edge connections, a token in argv when /proc has no hidepid, noTLSVerify, a secret file readable by group or others or owned by another account, QUIC / port 7844 errors, unreachable origins, proxy-dns (removed from releases in 2026), a binary deleted on disk (upgrade without restart), a process running another version than the installed package, a version over 12 months old (Cloudflare supports one year).
Notes: Quick Tunnel, cert.pem on the host, systemd restarts, replicas of one tunnel on this host, processes outside systemd units, processes in containers, warp-routing.
Active probe
Section titled “Active probe”Runs: cloudflared --version of each tunnel’s trusted binary (env -i, GNU timeout), then GET /ready and /metrics of its metrics server (--metrics, TUNNEL_METRICS or metrics: in config.yml, else the default ports 20241-20245) on 127.0.0.1/[::1] through the shared HTTP helper (trusted curl, no proxy, no redirects), only when the port is held by that cloudflared process. At most 2 processes. Only ready connections, HA connections, edge locations, request, error, retry and registration counters, the version and the remote config version leave the host; never the connector or connection ids. Never warp-cli.
Traces on the host: none in cloudflared’s log (it does not log metrics requests); the promhttp_metric_handler_requests_total counter grows by one per run.
Test config
Section titled “Test config”cloudflared tunnel --config <path> ingress validate on the config.yml the probe read: parses it and checks the ingress rules (hostnames, paths, services, the catch-all rule at the end) the way a start does. It does not connect to Cloudflare, the origins or the running tunnel. A tunnel run with a token keeps its ingress rules in the Cloudflare dashboard: then there is nothing to test.
Manual commands
Section titled “Manual commands”KryoDesk shows these with Copy / Paste to terminal and never runs them.
| Label | Command | What it does |
|---|---|---|
| Tunnel info | cloudflared tunnel info <name> |
asks the Cloudflare API with cert.pem for the tunnel’s connectors and their connections |
| WARP status | warp-cli status |
asks warp-svc over its socket for the connection state; the first run of warp-cli asks to accept the terms of service |