Cloudflare Tunnels made it easy for me to reach home services without opening a candy store of ports on my router. They also made it easy to accidentally expose more than I meant to if I got lazy with access policies.
This is the setup mindset I use now: least expose, then least privilege, then least convenience theater.
What I want from a tunnel
I want specific services reachable by specific people under specific conditions. I do not want my entire homelab hanging on one cheerful public hostname with hopes and dreams as the firewall.
Tunnels are a pipe. Access policies are the door staff. If you only build the pipe, you built a pipe.
Service isolation first
Each sensitive service gets its own hostname and its own rules when practical.
Admin panels do not share fate with a family calendar app. Media servers do not share fate with a metrics UI that has more permissions than it should. If one thing is compromised or misconfigured, I want blast radius small.
In practice that means separate origins where it makes sense, separate access groups, and a refusal to create a single “lab” link that routes to everything because it felt tidy.
Access policies I actually use
My defaults lean strict:
- Email or identity provider authentication for humans
- Georestrictions when they do not break my real life travel patterns
- Device posture or at least managed account expectations for admin tools
- Short sessions on higher risk apps
- No public bypass unless the service is intentionally public and sanitized
I also review bypass rules quarterly because temporary exceptions have a way of becoming permanent roommates.
The convenience trap
It feels good to make everything one click from your phone.
One click is how you forget what is exposed. I keep a written inventory: hostname, service, who can access, auth method, last review date. If it is not on the list, it should not be on the internet.
Yes, a spreadsheet. Mock it after your inventory is clean.
Hardening habits around the tunnel
- Keep the connector updated on a schedule
- Run connectors with least host privilege you can manage
- Do not punch extra router holes “just in case” beside the tunnel
- Separate wifi or VLAN ideas for IoT junk versus admin machines when you can
- Log access and glance at anomalies monthly
I am not pretending my house is a bank. I am pretending attackers are bored and automated, because they are.
What I refuse to expose
Anything with broad lateral access to the rest of the network without an extra gate. Raw file share admin. Hypervisor UIs. Password managers. Home automation controllers that can unlock doors.
If I need those remotely, they get the strictest identity requirements I can stand, or they wait until I am home.
A small incident story
I once left a preview service on a friendly hostname longer than I meant to. No disaster happened. What happened was worse in a quiet way: I forgot it existed. Forgetting is the real vulnerability for homelabs.
Now temporary services get temporary hostnames and a calendar reminder to delete them. Romance optional. Reminder mandatory.
Checklist
- Inventory of published hostnames
- Per service access policy
- No shared god link to the whole lab
- Connector update cadence
- Quarterly exception review
- Admin tools stricter than toys
Bottom line
Cloudflare Tunnels are great plumbing. They are not a security personality.
Expose less. Isolate services. Make access policies boring and strict. Your future self, standing in the kitchen wondering why a random dashboard is public, will thank you.
Keep it human
I can feel when advice turns into a TED talk in my hands. The cure is a concrete next action under fifteen minutes. For this post, that action serves one idea: Access policies and service isolation for home services.
Do that small thing. Then go live your Tuesday.





