Some checks failed
Deploy to Phoenix / deploy (push) Has been cancelled
- ADD_CHAIN138_TO_LEDGER_LIVE: Ledger form done; public code review repo bis-innovations/LedgerLive; init/push commands - CONTRACT_DEPLOYMENT_RUNBOOK: Chain 138 gas price 1 gwei, 36-addr check, TransactionMirror workaround - CONTRACT_*: AddressMapper, MirrorManager deployed 2026-02-12; 36-address on-chain check - NEXT_STEPS_FOR_YOU: Ledger done; steps completable now (no LAN); run-completable-tasks-from-anywhere - MASTER_INDEX, OPERATOR_OPTIONAL, SMART_CONTRACTS_INVENTORY_SIMPLE: updates - LEDGER_BLOCKCHAIN_INTEGRATION_COMPLETE: bis-innovations/LedgerLive reference Co-authored-by: Cursor <cursoragent@cursor.com>
2.4 KiB
2.4 KiB
Cloudflare Tunnel Installation - Complete
Last Updated: 2026-01-31
Document Version: 1.0
Status: Active Documentation
Date: January 27, 2025
Tunnel Token: Provided
Container: VMID 5000 on pve2
✅ Installation Command
Run this on pve2 node:
# Install cloudflared service with token
pct exec 5000 -- cloudflared service install eyJhIjoiNTJhZDU3YTcxNjcxYzVmYzAwOWVkZjA3NDQ2NTgxOTYiLCJ0IjoiYjAyZmUxZmUtY2I3ZC00ODRlLTkwOWItN2NjNDEyOThlYmU4IiwicyI6Ik5HTmtOV0kwWXpNdFpUVmxaUzAwTVRFMkxXRXdNMk10WlRJNU1ETTFaRFF4TURBMiJ9
# Start service
pct exec 5000 -- systemctl start cloudflared
pct exec 5000 -- systemctl enable cloudflared
# Verify installation
pct exec 5000 -- systemctl status cloudflared
pct exec 5000 -- cloudflared tunnel list
📋 What This Does
- Installs cloudflared (if not already installed)
- Configures tunnel service with the provided token
- Starts cloudflared service automatically
- Enables service to start on boot
🔍 After Installation
Get Tunnel ID
pct exec 5000 -- cloudflared tunnel list
The tunnel ID will be displayed in the output.
Configure DNS
In Cloudflare Dashboard (https://dash.cloudflare.com/):
- Domain: d-bis.org → DNS → Records
- Add CNAME:
- Name:
explorer - Target:
<tunnel-id>.cfargotunnel.com - Proxy: 🟠 Proxied (orange cloud)
- TTL: Auto
- Name:
Configure Tunnel Route
In Cloudflare Zero Trust (https://one.dash.cloudflare.com/):
- Zero Trust → Networks → Tunnels
- Find your tunnel → Configure → Public Hostnames
- Add hostname:
- Subdomain:
explorer - Domain:
d-bis.org - Service:
http://192.168.11.140:80 - Type:
HTTP
- Subdomain:
✅ Verification
Wait 1-5 minutes for DNS propagation, then:
curl https://explorer.d-bis.org/api/v2/stats
Expected: JSON response with network stats (not 404)
🔧 Troubleshooting
Service not starting
# Check logs
pct exec 5000 -- journalctl -u cloudflared -n 50
# Check status
pct exec 5000 -- systemctl status cloudflared
Tunnel not connecting
- Verify token is valid
- Check Cloudflare Zero Trust dashboard for tunnel status
- Ensure DNS record is proxied (orange cloud)
Status: Ready to install
Next: Run installation command above on pve2 node