Menu

1 / 2

Building Cfmux — A Wrapper Around Cloudflared for Multi-Account Tunnel Management

DEV Community·Exiro Studio·6 months ago
#QJQifDhj
#one#linux#devops#cfmux#tunnel
Reading 0:00
15s threshold

Most infrastructure tools are born from one thing:

Frustration.

Cfmux started exactly the same way.

For a long time, I used Cloudflare Tunnel through cloudflared for almost everything:

self-hosted apps

development environments

temporary testing

internal dashboards

webhook receivers

And honestly?

cloudflared is great.

It is lightweight, stable, simple to deploy, and probably one of the easiest ways to expose local services securely without dealing with public IPs or complicated reverse proxy setups.

But eventually I hit a workflow problem.

Not a technical limitation.

A workflow limitation.

The Problem Wasn't Tunneling

The problem appeared when I started managing multiple Cloudflare accounts.

Something like this:

personal projects

client infrastructure

staging environments

isolated test environments

temporary deployments

At first it was manageable.

Then slowly things became messy.

Credential confusion.

Wrong account usage.

Mixed runtime state.

Configs everywhere.

And I realized…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.