I used to use Tailscale for my homelab, but eventually moved everything to Cloudflare Zero Trust for ~1.5 years. It works pretty well, but I really missed their MagicDNS.
Having to open the dashboard just to find a device IP is kinda sucks. Initially, I made a tiny script that automatically gave every device a name like {hostname}.mesh.
But then, I got tired of "always-changing" Cloudflare dashboard whenever I needed to manage a node, tunnel, or split tunnel setting. So that small script slowly turned into meshflare project.
Right now it can:
- Show Mesh nodes and devices in one place
- Automatically create
.meshnames for them - Manage Cloudflare Tunnels
- Manage WARP routes and split tunnels
- Turn Cloudflare Gateway into a small Pi-hole-like blocker using a public blocklist (I use small.oisd.nl)
The last one is quite cool (thanks to this project for the idea) because I don't need to run my own private DNS server or configure custom DoH/DoT just to have simple adblocking stuff.
The app uses Cloudflare stack (Workers + D1), so no VPS needed. It can also run with Docker or Bun if you prefer that.
It's still a young project, but I've been using it every day for my own homelab. Would love to hear what you think.
Demo (read only): https://meshflare-demo.wastu.workers.dev/
GitHub: https://github.com/bgwastu/meshflare
https://i.redd.it/pnbwi1rp19qh1.jpeg
Source: r/CloudFlare · by /u/undefinedenv
