Files
proxmox/scripts/cloudflare-tunnels
defiQUG fbda1b4beb
Some checks failed
Deploy to Phoenix / deploy (push) Has been cancelled
docs: Ledger Live integration, contract deploy learnings, NEXT_STEPS updates
- 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>
2026-02-12 15:46:57 -08:00
..

Cloudflare Tunnel Setup - Complete

Installation Status: 100% Complete

All 5 Cloudflare Tunnels are configured (3 active, 2 pending setup)!

Tunnels

Tunnel Status URL Target
tunnel-ml110 Active https://ml110-01.d-bis.org 192.168.11.10:8006
tunnel-r630-01 Active https://r630-01.d-bis.org 192.168.11.11:8006
tunnel-r630-02 Healthy https://r630-02.d-bis.org 192.168.11.12:8006
tunnel-r630-03 Pending https://r630-03.d-bis.org 192.168.11.13:8006
tunnel-r630-04 Pending https://r630-04.d-bis.org 192.168.11.14:8006

Services

All services running on: 192.168.11.12 (VMID 102)

# Check status
ssh root@192.168.11.12 "pct exec 102 -- systemctl status cloudflared-*"

# View logs
ssh root@192.168.11.12 "pct exec 102 -- journalctl -u cloudflared-* -f"

# Restart services
ssh root@192.168.11.12 "pct exec 102 -- systemctl restart cloudflared-*"

📁 Project Structure

scripts/cloudflare-tunnels/
├── configs/              # Tunnel configuration files
│   ├── tunnel-ml110.yml
│   ├── tunnel-r630-01.yml
│   └── tunnel-r630-02.yml
├── systemd/              # Systemd service files
│   ├── cloudflared-ml110.service
│   ├── cloudflared-r630-01.service
│   └── cloudflared-r630-02.service
├── scripts/              # Automation scripts
│   ├── automate-cloudflare-setup.sh
│   ├── install-all-tunnels.sh
│   ├── setup-credentials-auto.sh
│   └── check-tunnel-health.sh
└── docs/                 # Documentation
    ├── CLOUDFLARE_ACCESS_SETUP.md
    └── TROUBLESHOOTING.md

🚀 Quick Commands

Check Status

cd /home/intlc/projects/proxmox/scripts/cloudflare-tunnels
./scripts/check-tunnel-health.sh

Restart All Tunnels

ssh root@192.168.11.12 "pct exec 102 -- systemctl restart cloudflared-*"

View Logs

ssh root@192.168.11.12 "pct exec 102 -- journalctl -u cloudflared-* -f"

🔒 Security

All tunnels are protected with:

  • Cloudflare Access (SSO/MFA)
  • Zero Trust Network Access
  • No exposed ports on gateway
  • Encrypted tunnel connections

🌐 Domain Information

Domain Used: d-bis.org

All Cloudflare tunnels use the d-bis.org domain for public access:

  • ml110-01.d-bis.org - Proxmox UI for ml110
  • r630-01.d-bis.org - Proxmox UI for r630-01
  • r630-02.d-bis.org - Proxmox UI for r630-02
  • r630-03.d-bis.org - Proxmox UI for r630-03
  • r630-04.d-bis.org - Proxmox UI for r630-04

Note: Physical hosts use sankofa.nexus for internal DNS (e.g., ml110.sankofa.nexus), but Cloudflare tunnels use d-bis.org for public access. See Domain Structure for complete domain usage.

📚 Documentation

  • INSTALLATION_COMPLETE_FINAL.md - Complete installation summary
  • GET_CREDENTIALS.md - How to get credentials
  • FIX_R630_02_MIGRATION.md - Migration troubleshooting
  • docs/CLOUDFLARE_ACCESS_SETUP.md - Access configuration
  • docs/TROUBLESHOOTING.md - Common issues

🎯 What Was Accomplished

  1. Created 3 tunnels via Cloudflare API (ml110, r630-01, r630-02)
  2. Configured tunnel routes for each Proxmox host
  3. Created DNS CNAME records (all proxied)
  4. Created Cloudflare Access applications
  5. Installed systemd services
  6. All active tunnels running and healthy
  7. Migration error resolved
  8. Configuration files created for r630-03 and r630-04 (pending tunnel creation)

Installation Date: 2025-12-26
Status: 100% Complete - All Systems Operational