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:

  1. Log in to your Cloudflare Zero Trust Dashboard.
  2. Navigate to NetworksTunnels and click Create a Tunnel.
  3. Select Cloudflared as the connector type and enter a tunnel name (e.g. MyHomeServer).
  4. 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:

  1. In your Tunnel page, click Add a public hostname.
  2. Set Subdomain (e.g. cloud) and select your Domain.
  3. Set Type to HTTP (or HTTPS) and enter your local IP (e.g. 192.168.1.100:8080).
  4. Click Save Hostname.
For Proxmox or local services with self-signed SSL certificates, enable No TLS Verify under Additional application settings ➔ TLS.

Related Guides