Cloudflare Tunnel
Setup Guide
Learn how to securely expose web applications, home servers, and Proxmox services to the internet without opening router ports.
1. Setting Up via Cloudflare Zero Trust Dashboard
Cloudflare Zero Trust dashboard provides a graphical management interface for tunnel setup:
- Log in to your Cloudflare Zero Trust Dashboard.
- Navigate to Networks ➔ Tunnels and click Create a Tunnel.
- Select
Cloudflaredas the connector type and enter a tunnel name (e.g.MyHomeServer). - Select your OS (Debian / Ubuntu 64-bit) to view the generated installation command.
Run the installation command on your server:
sudo cloudflared service install eyJhY... (your unique connector token)
2. Routing Your Domain and Subdomains
Map local web services to public subdomains:
- In your Tunnel page, click Add a public hostname.
- Set Subdomain (e.g.
cloud) and select your Domain. - Set Type to
HTTP(orHTTPS) and enter your local IP (e.g.192.168.1.100:8080). - Click Save Hostname.
For Proxmox or local services with self-signed SSL certificates, enable No TLS Verify under Additional application settings ➔ TLS.