Setting Up Cloudflare Argo and Access on a Raspberry Pi(erdaltoprak.com) |
Setting Up Cloudflare Argo and Access on a Raspberry Pi(erdaltoprak.com) |
I did the same to enable secure access to services via SSO at work. I used Harbormaster[1] to deploy Compose files, but it's otherwise the same setup.
One of the big advantages this has is that the services can't be accessed any other way (not even from the same host, as they only listen inside the Docker network). That makes it hard to forget some port exposed because you listened to 0.0.0.0 instead of localhost.
Cloudflare access is very easy to set up SSO with, as well. I'd recommend this setup if you need it, though for home usage I usually just set up Caddy as a reverse proxy with basic auth, as I'll be the only person using this and I don't want Cloudflare MITMing my personal stuff.
From: https://blog.cloudflare.com/tunnel-for-everyone/
As part of that change (and to reduce confusion), we’re also renaming the product to Cloudflare Tunnel.
My only concern is if it gets popular enough that a lot of self-hosters start using it for things like Plex and Jellyfin, which I believe is against Cloudflare's TOS, they might crack down on that.
If you prefer a self-hosted tunneling system, I maintain a list here:
It works very well. Pomerium is easy-ish to configure (especially because it takes care of certs for you), and I can log into stuff on my LAN without having to boot up the ZeroTier client which takes a minute to connect on iOS (or from devices that don't have ZeroTier installed). I would've used Cloudflare Access + Argo Tunnel, but at the time they were still charging for tunneled bandwidth (like $10/GB or something outrageous), so this ended up cheaper.
Could you share more with the team and community so we can improve the setup experience for other users going into the future?
Our Slack here! https://slack.pomerium.io/
Or join Discuss and document your thoughts for other users here! https://discuss.pomerium.com/
Self-hosting is so so cool. Nothing more satisfying that hosting your own website from scrappy ol equipment :-)
Gluetun has no link to the actual tunnel setup, but since many people seemed to struggle with a vpn container I just used that as a bonus example!
https://www.namecheap.com/support/knowledgebase/article.aspx...
Could also get a domain name and make a simple cron job and update your DNS. Works with many DNS registrars like Cloudflare.
They generate you a line to drop in cron for automatic updates.