cloudflared command cheatsheet

official documentation

configuration location: `.cloudflared/` folder in your user homefolder

allow non-root to operate docker

// list all tunnels on this host
$ cloudflared tunnel list

// get extended information about a tunnel on this host
$ cloudflared tunnel info tunnelname

// install a tunnel as a service (get exact command from zero-trust UI
$ sudo cloudflared service install <use id from cloudflare goes here>

// status of the tunnel service
$ systemctl status cloudflared

// check what is routed via the tunnel
$ cloudflared tunnel route ip show