- 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.4 KiB
2.4 KiB
Install Cloudflare Tunnel in VMID 102
Container: VMID 102 (cloudflared container) on pve2 node
Status: ⏳ Installation Required
Installation Commands
Run these commands on pve2 node:
pct exec 102 -- bash << 'INSTALL_SCRIPT'
# Install cloudflared if needed
if ! command -v cloudflared >/dev/null 2>&1; then
cd /tmp
wget -q https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64.deb
dpkg -i cloudflared-linux-amd64.deb || apt install -f -y
fi
# Install tunnel service with token
cloudflared service install eyJhIjoiNTJhZDU3YTcxNjcxYzVmYzAwOWVkZjA3NDQ2NTgxOTYiLCJ0IjoiYjAyZmUxZmUtY2I3ZC00ODRlLTkwOWItN2NjNDEyOThlYmU4IiwicyI6Ik5HTmtOV0kwWXpNdFpUVmxaUzAwTVRFMkxXRXdNMk10WlRJNU1ETTFaRFF4TURBMiJ9
# Start and enable service
systemctl start cloudflared
systemctl enable cloudflared
sleep 3
# Verify installation
systemctl status cloudflared --no-pager -l | head -15
cloudflared tunnel list
INSTALL_SCRIPT
Alternative: Step-by-Step
If the above doesn't work, run these commands one by one:
# 1. Enter container
pct exec 102 -- bash
# 2. Install cloudflared (if needed)
cd /tmp
wget -q https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64.deb
dpkg -i cloudflared-linux-amd64.deb || apt install -f -y
# 3. Install tunnel service
cloudflared service install eyJhIjoiNTJhZDU3YTcxNjcxYzVmYzAwOWVkZjA3NDQ2NTgxOTYiLCJ0IjoiYjAyZmUxZmUtY2I3ZC00ODRlLTkwOWItN2NjNDEyOThlYmU4IiwicyI6Ik5HTmtOV0kwWXpNdFpUVmxaUzAwTVRFMkxXRXdNMk10WlRJNU1ETTFaRFF4TURBMiJ9
# 4. Start service
systemctl start cloudflared
systemctl enable cloudflared
# 5. Check status
systemctl status cloudflared
cloudflared tunnel list
# 6. Exit container
exit
Verification
After installation, wait 1-2 minutes for tunnel to connect, then test:
# Test public URL
curl https://explorer.d-bis.org/api/v2/stats
# Should return HTTP 200 with JSON response
Current Configuration Status
✅ Completed:
- DNS Record:
explorer.d-bis.org→b02fe1fe-cb7d-484e-909b-7cc41298ebe8.cfargotunnel.com(🟠 Proxied) - Tunnel Route:
explorer.d-bis.org→http://192.168.11.140:80 - SSL/TLS: Automatic (Cloudflare Universal SSL)
- Blockscout: Running in VMID 5000
- Nginx: Working
⏳ Pending:
- Cloudflare Tunnel Service: Install in VMID 102
Once tunnel service is installed in VMID 102, the public URL will be fully functional!