Cloudflared Tunnel Wrapper
cfdtunnel is a wrapper for cloudflared
access tunnel, designed to access multiple tunnels without having to worry about your
The easiest way to install it is using Homebrew:
brew tap mmiranda/apps brew install cfdtunnel
If you prefer, you also can download the latest binary on the release section
How does it work?
Basically this tool takes care of the
cloudflared process initialization for you.
- Runs cloudflared based on you config ini file
- Runs the command you want
- Kills the cloudflared proccess at the end
You can use any command on top of cfdtunnel:
cfdtunnel --profile my-profile1 kubectl get namespaces
cfdtunnel --profile my-profile1 k9s
Configuration is really simple, you just need to create your profiles in
[my-profile1] host = https://kubernetes.foo.bar.com [my-profile2] host = sql.foo.bar.com port = 1234
Defining a port is not required, if you don't specify, cfdtunnel will launch the tunnel using the
most random port 5555
Contributions, issues, and feature requests are welcome!