Cfmux: A Lightweight Wrapper for Multi-Account Cloudflare Tunnel Management
This article introduces Cfmux, a new command-line interface tool designed to simplify the management of multiple Cloudflare accounts when using cloudflared tunnels. Created to address workflow frustrations rather than technical limitations, Cfmux acts as a lightweight wrapper around the official cloudflared binary. It solves issues like credential confusion and mixed runtime states by isolating configurations, credentials, and services into distinct profiles. This allows developers to switch seamlessly between personal projects, client infrastructure, and staging environments without manual flag adjustments. Built with a focus on reliability and simplicity, Cfmux utilizes a boring tech stack including Golang, Cobra CLI, and YAML, avoiding complex dashboards or databases. The tool emphasizes a CLI-first approach with minimal dependencies, ensuring it remains Linux-friendly and easy to maintain. By prioritizing integration testing and profile isolation, Cfmux aims to provide a stable, frictionless experience for infrastructure engineers managing diverse tunneling requirements across various accounts.
Editorial responsibility
- No named human review is recorded for this page.
- Reports are grouped by semantic similarity and deterministic rules. Language models may assist titles, summaries, translation and cross-source analysis; the page itself is projected from evidence records.
- Current automated evidence projection