Why Use Cloudflare Zero Trust?
- No need to port-forward
- Built-in authentication
- Works with domains you already own
Steps
- Go to dash.cloudflare.com and select your domain
- Navigate to "Zero Trust" → "Access" → "Applications"
- Create a new application:
- App name: e.g., Sonarr
- Domain: sonarr.yourdomain.com
- Session duration: 1 week
- Set rules → Include emails (your email only, or use groups)
- Install the Cloudflare Tunnel connector on your server (Cloudflared)
- Connect it with:
cloudflared tunnel login
cloudflared tunnel create sonarr
- Set up routing: point subdomain to the tunnel
- Test access!