2025-12-21 22:32:09 -08:00
|
|
|
# Quick Start: Setup Cloudflare Tunnel
|
|
|
|
|
|
2026-02-12 15:46:57 -08:00
|
|
|
**Last Updated:** 2026-01-31
|
|
|
|
|
**Document Version:** 1.0
|
|
|
|
|
**Status:** Active Documentation
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
2025-12-21 22:32:09 -08:00
|
|
|
## Ready to Run
|
|
|
|
|
|
|
|
|
|
You have everything prepared! Just need your tunnel token from Cloudflare.
|
|
|
|
|
|
|
|
|
|
## Run This Command
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
cd /home/intlc/projects/proxmox
|
|
|
|
|
./scripts/setup-cloudflare-tunnel-rpc.sh <YOUR_TUNNEL_TOKEN>
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Get Your Token
|
|
|
|
|
|
|
|
|
|
1. Go to: https://one.dash.cloudflare.com
|
|
|
|
|
2. Zero Trust → Networks → Tunnels
|
|
|
|
|
3. Create tunnel (or select existing)
|
|
|
|
|
4. Copy the token (starts with `eyJhIjoi...`)
|
|
|
|
|
|
|
|
|
|
## What It Does
|
|
|
|
|
|
|
|
|
|
✅ Stops existing DoH proxy
|
|
|
|
|
✅ Installs tunnel service
|
|
|
|
|
✅ Configures 4 RPC endpoints
|
|
|
|
|
✅ Starts tunnel service
|
|
|
|
|
✅ Verifies it's running
|
|
|
|
|
|
|
|
|
|
## After Running
|
|
|
|
|
|
|
|
|
|
1. Configure routes in Cloudflare Dashboard (see CLOUDFLARE_TUNNEL_QUICK_SETUP.md)
|
|
|
|
|
2. Update DNS records to CNAME pointing to tunnel
|
|
|
|
|
3. Test endpoints
|
|
|
|
|
|
|
|
|
|
See: docs/04-configuration/CLOUDFLARE_TUNNEL_QUICK_SETUP.md for full details
|