- Organized 252 files across project - Root directory: 187 → 2 files (98.9% reduction) - Moved configuration guides to docs/04-configuration/ - Moved troubleshooting guides to docs/09-troubleshooting/ - Moved quick start guides to docs/01-getting-started/ - Moved reports to reports/ directory - Archived temporary files - Generated comprehensive reports and documentation - Created maintenance scripts and guides All files organized according to established standards.
2.6 KiB
2.6 KiB
Download Credentials - Quick Steps
⚡ Quick Steps (5 minutes)
1. Download Credentials from Cloudflare Dashboard
Go to: https://one.dash.cloudflare.com/
Navigate: Zero Trust → Networks → Tunnels
For each of these 3 tunnels, download the credentials file:
| Tunnel Name | Tunnel ID | Save As |
|---|---|---|
tunnel-ml110 |
ccd7150a-9881-4b8c-a105-9b4ead6e69a2 |
credentials-ml110.json |
tunnel-r630-01 |
4481af8f-b24c-4cd3-bdd5-f562f4c97df4 |
credentials-r630-01.json |
tunnel-r630-02 |
0876f12b-64d7-4927-9ab3-94cb6cf48af9 |
credentials-r630-02.json |
For each tunnel:
- Click on the tunnel name
- Click "Configure" tab
- Scroll to "Local Management" section
- Click "Download credentials file"
- Save the file with the name from the table above
2. Save Files to Project Directory
Save all 3 files to:
/home/intlc/projects/proxmox/scripts/cloudflare-tunnels/
So you should have:
/home/intlc/projects/proxmox/scripts/cloudflare-tunnels/credentials-ml110.json/home/intlc/projects/proxmox/scripts/cloudflare-tunnels/credentials-r630-01.json/home/intlc/projects/proxmox/scripts/cloudflare-tunnels/credentials-r630-02.json
3. Run Automated Setup
Once files are saved, run:
cd /home/intlc/projects/proxmox/scripts/cloudflare-tunnels
./scripts/setup-credentials-auto.sh
This will:
- ✅ Validate credentials files
- ✅ Copy to VMID 102
- ✅ Update config files
- ✅ Set proper permissions
- ✅ Prepare everything for service startup
4. Start Services
ssh root@192.168.11.10 "pct exec 102 -- systemctl start cloudflared-ml110 cloudflared-r630-01 cloudflared-r630-02"
ssh root@192.168.11.10 "pct exec $VMID -- systemctl enable cloudflared-*"
5. Verify
ssh root@192.168.11.10 "pct exec 102 -- systemctl status cloudflared-*"
📋 What the Credentials File Looks Like
Each file should contain JSON like this:
{
"AccountTag": "52ad57a71671c5fc009edf0744658196",
"TunnelSecret": "base64-encoded-secret-here",
"TunnelID": "ccd7150a-9881-4b8c-a105-9b4ead6e69a2",
"TunnelName": "tunnel-ml110"
}
🚀 One-Command Setup (After Downloading)
Once you've downloaded all 3 files to the project directory:
cd /home/intlc/projects/proxmox/scripts/cloudflare-tunnels && \
./scripts/setup-credentials-auto.sh && \
ssh root@192.168.11.10 "pct exec 102 -- systemctl start cloudflared-* && systemctl enable cloudflared-*"
Note: Cloudflare requires manual download of credentials for security reasons. This cannot be automated via API.