If you’ve ever finished coding a project and wondered how to put it on the internet, you’re not alone.
The usual “journey” is a maze of port forwarding/NAT, DDNS because you don’t have a static IP, wrestling with SSL/TLS for HTTPS…
A slick combo of Traefik and Cloudflare Tunnel that automates all of this for you.
The tech in a nutshell
Instead of opening your home network to the internet, it creates an encrypted, private tunnel from your machine to Cloudflare’s global network. All traffic flows through that tunnel. Translation: no port forwarding, no static IP, and your LAN stays invisible.
Once traffic reaches your machine safely, Traefik acts as the smart traffic controller. It auto-discovers your services and routes traffic to the right subdomain. You also get load balancing, powerful middlewares (like OIDC auth), and a rich plugin ecosystem.
What makes this project special
A built-in watcher auto-creates subdomain records on Cloudflare DNS. No more manual clicking in the Cloudflare dashboard.
It automatically checks and updates Traefik and Cloudflare Tunnel to the latest version every 6 hours—security patches and new features, on autopilot.
What you get
I’ve been running this for my personal homelab for over 2 months and it’s been rock solid. It’s a great fit for personal servers, family setups, and staging/demo environments. (Small note: free Cloudflare Tunnel might not be ideal for ultra-high-traffic systems.)
If you find this useful, a
Thanks for reading!