January 16, 2022

Cloudflare tunnels and Cockpit

I have been continuing to play with Cloudflare tunnels and teams and wanted to put cockpit on a tunnel.  I found out it is not as straightforward as one would think.  I found a small web of things to do and an undocumented disability/bug in Cloudflare tunnels.  It is not as simple as throwing it into the configuration and expecting it to work.  No, you have to configure cockpit, tweak the tunnel and have a URL of a certain (loose) format.  I am not certain I needed to get a LetsEncrypt cert for it so I am skipping that in this write-up. If anyone does find that it is needed, drop me a message and I will add it at a later date. For quick and dirty setup read after the break.

Continue reading…