r/Tailscale • u/VeterinarianExtra286 • 18h ago
Discussion Inspired by my love for Control D & Tailscale, I built a tool to pair Tailscale Exit Nodes, App Connectors & Multi-tunnels (All in a Single Docker Container)
Hey everyone,
I’m a huge fan of Tailscale for mesh networking and I love the way Control D handles dynamic DNS routing. But I always wished I had a simple, self-hosted way to combine their power: running multiple VPN tunnels side-by-side, using them as Tailscale Exit Nodes / App Connectors, and managing a custom DNS Control Plane for my Tailnet.
Setting up isolated exit nodes with custom outbound VPNs (WireGuard, NordVPN) or split tunneling manually usually requires wrestling with network namespaces, iptables/nftables, and complex DNS configs.
So I built Hermit to make this instant — packaged entirely inside a single Docker container with zero external database dependencies:
⚡ What it does:
- Single Docker Container Setup: Everything (web UI, DNS engine, netns orchestrator, SQLite) is packaged inside one single container. No complex multi-container stacks required.
- Multiple Tunnels & Exit Nodes: Spin up multiple independent connection pairs side-by-side in isolated Linux network namespaces (
netns) without route leaks or host network conflicts. - Domain-based Split Tunneling (Tailscale App Connector): Easily configure domain-based split tunneling via Tailscale App Connectors. Simply input your target domains in the UI, and traffic for those domains is automatically routed through your specific tunnel across the entire Tailnet.
- Tailscale Integration & Outbound Routing: Pair any Tailscale node with outbound profiles (WireGuard, NordVPN, or Local interface).
- Control D-inspired DNS Control Plane:
- Automatically provisions Tailscale DNS Nodes on your tailnet with built-in blocklists (AdGuard, GoodbyeAds) and custom domain routing rules (Block, Bypass, Redirect, Forward).
- Auto-sets the DNS node as your tailnet-wide nameserver with one click.
- Generates secure DoH endpoints and Apple
.mobileconfigprofiles for iOS/macOS.
🔗 Code & Repo
I’d love to hear your thoughts, feedback, or ideas for new features. Thanks for checking it out!