charts
charts copied to clipboard
Add Cloudflare Tunnel (cloudflared)
Cloudflare Tunnel has some interesting features.
- It's free! (For personal/hobby level usage, at least.)
- The client (cloudflared) is open source, with code avaiable on their GitHub repository
- It even works on CGNAT-based Internet connections! This means applications on TrueNAS SCALE machines stuck behind these connections can easily be set up to be accessible from the Internet.
- The tunnel connection can be made persistent, so it can automatically reconnect if the Internet connection drops.
There is an official Docker container for the Cloudflare Tunnel client (cloudflared). Hopefully making a chart will be simplified a bit, since the container already exists.
Note: Best option for this is setting it up as one of the VPN addons.
Would love to see Cloudflared support. I'm currently running it via TrueCharts docker-compose app pointing to the TrueCharts Traefik app's host port.
Would love to see Cloudflared support. I'm currently running it via TrueCharts docker-compose app pointing to the TrueCharts Traefik app's host port.
+1 comments are generally not going to have any benefid besides spamming users, please don't.
I was about to create a chart for cloudflared for my own use (and submit a PR to potentially merge) but then I realised it's not really needed! You can run cloudflared by using the "Launch Docker" image function and use the following settings:
Image repository: cloudflare/cloudflared
Image Tag: latest
Configure Container CMD: Leave Empty
Configure Container Args: Add as many arguments as you need based on the commands you need to run, usually you can run cloudflared headless with one liners.
Example: The Cloudflare Tunnels function in Cloudflare's Zero Trust dashboard will give you a command similar to:
docker run cloudflare/cloudflared:undefined tunnel --no-autoupdate run --token e**************************************************************9
In this case create new arguments (one line each) for the following:
tunnel
--no-autoupdate
run
--token
e**************************************************************9
You can run cloudflared by using the "Launch Docker"
Please do not needlessly spam requests with information that is of zero relevance to the actuall ticket.
Closing as completed!