64 lines
2.0 KiB
Markdown
64 lines
2.0 KiB
Markdown
|
|
# Automation Results
|
||
|
|
|
||
|
|
## ✅ Completed via API
|
||
|
|
|
||
|
|
### Tunnels
|
||
|
|
- ✅ tunnel-ml110: `ccd7150a-9881-4b8c-a105-9b4ead6e69a2`
|
||
|
|
- ✅ tunnel-r630-01: `4481af8f-b24c-4cd3-bdd5-f562f4c97df4`
|
||
|
|
- ✅ tunnel-r630-02: `0876f12b-64d7-4927-9ab3-94cb6cf48af9`
|
||
|
|
|
||
|
|
### Tunnel Routes
|
||
|
|
- ✅ ml110-01.d-bis.org → https://192.168.11.10:8006
|
||
|
|
- ✅ r630-01.d-bis.org → https://192.168.11.11:8006
|
||
|
|
- ✅ r630-02.d-bis.org → https://192.168.11.12:8006
|
||
|
|
|
||
|
|
### DNS Records
|
||
|
|
- ✅ ml110-01.d-bis.org → CNAME → `ccd7150a-9881-4b8c-a105-9b4ead6e69a2.cfargotunnel.com` (Proxied)
|
||
|
|
- ✅ r630-01.d-bis.org → CNAME → `4481af8f-b24c-4cd3-bdd5-f562f4c97df4.cfargotunnel.com` (Proxied)
|
||
|
|
- ✅ r630-02.d-bis.org → CNAME → `0876f12b-64d7-4927-9ab3-94cb6cf48af9.cfargotunnel.com` (Proxied)
|
||
|
|
|
||
|
|
### Cloudflare Access Applications
|
||
|
|
- ✅ Proxmox ml110-01 → ml110-01.d-bis.org
|
||
|
|
- ✅ Proxmox r630-01 → r630-01.d-bis.org
|
||
|
|
- ✅ Proxmox r630-02 → r630-02.d-bis.org
|
||
|
|
|
||
|
|
## ⚠️ Manual Steps Remaining
|
||
|
|
|
||
|
|
### 1. Generate Tunnel Tokens
|
||
|
|
Tokens cannot be generated via API. Use cloudflared CLI:
|
||
|
|
|
||
|
|
```bash
|
||
|
|
# Install cloudflared if needed
|
||
|
|
wget https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64.deb
|
||
|
|
dpkg -i cloudflared-linux-amd64.deb
|
||
|
|
|
||
|
|
# Generate tokens
|
||
|
|
cloudflared tunnel token ccd7150a-9881-4b8c-a105-9b4ead6e69a2
|
||
|
|
cloudflared tunnel token 4481af8f-b24c-4cd3-bdd5-f562f4c97df4
|
||
|
|
cloudflared tunnel token 0876f12b-64d7-4927-9ab3-94cb6cf48af9
|
||
|
|
```
|
||
|
|
|
||
|
|
### 2. Save Credentials
|
||
|
|
```bash
|
||
|
|
cd scripts/cloudflare-tunnels
|
||
|
|
./scripts/save-tunnel-credentials.sh ml110 <tunnel-id> <token>
|
||
|
|
./scripts/save-tunnel-credentials.sh r630-01 <tunnel-id> <token>
|
||
|
|
./scripts/save-tunnel-credentials.sh r630-02 <tunnel-id> <token>
|
||
|
|
```
|
||
|
|
|
||
|
|
### 3. Start Services
|
||
|
|
```bash
|
||
|
|
ssh root@192.168.11.10 "pct exec 102 -- systemctl start cloudflared-*"
|
||
|
|
```
|
||
|
|
|
||
|
|
## 🎉 Summary
|
||
|
|
|
||
|
|
**All API-automated steps completed!**
|
||
|
|
- ✅ 3 tunnels configured
|
||
|
|
- ✅ 3 routes configured
|
||
|
|
- ✅ 3 DNS records created/updated
|
||
|
|
- ✅ 3 Access applications created
|
||
|
|
|
||
|
|
**Remaining:** Generate tokens and start services (requires cloudflared CLI)
|
||
|
|
|