# Install Using Token You have a token for the **ml110 tunnel**. Here's how to install it: ## Token Information - **Tunnel ID**: `ccd7150a-9881-4b8c-a105-9b4ead6e69a2` - **Tunnel Name**: `tunnel-ml110` - **Hostname**: `ml110-01.d-bis.org` - **Target**: `https://192.168.11.10:8006` ## Installation Steps ### Option 1: Direct Installation (if you're on the cloudflared container) If you're already inside VMID 102 or can SSH to it: ```bash # 1. Create credentials file cat > /etc/cloudflared/credentials-ml110.json <<'EOF' { "AccountTag": "52ad57a71671c5fc009edf0744658196", "TunnelSecret": "Fmzk5d7TX4t9m7CHnUOCa62LWbAQOfFJkgnDxPtLdfWJ4eoLx2rL9+k3T+97IELQh4gGtvKo3Zpfi6b8NGquIg==", "TunnelID": "ccd7150a-9881-4b8c-a105-9b4ead6e69a2", "TunnelName": "tunnel-ml110" } EOF # 2. Create config file cat > /etc/cloudflared/tunnel-ml110.yml <<'EOF' tunnel: ccd7150a-9881-4b8c-a105-9b4ead6e69a2 credentials-file: /etc/cloudflared/credentials-ml110.json ingress: - hostname: ml110-01.d-bis.org service: https://192.168.11.10:8006 originRequest: noHappyEyeballs: true connectTimeout: 30s tcpKeepAlive: 30s keepAliveConnections: 100 keepAliveTimeout: 90s disableChunkedEncoding: true noTLSVerify: true - service: http_status:404 EOF # 3. Set permissions chmod 600 /etc/cloudflared/credentials-ml110.json # 4. Install systemd service (copy from project) # Or create manually: cat > /etc/systemd/system/cloudflared-ml110.service <<'EOF' [Unit] Description=Cloudflare Tunnel for ml110-01 After=network.target [Service] TimeoutStartSec=0 Type=notify ExecStart=/usr/local/bin/cloudflared --config /etc/cloudflared/tunnel-ml110.yml tunnel run Restart=on-failure RestartSec=5s [Install] WantedBy=multi-user.target EOF # 5. Enable and start systemctl daemon-reload systemctl enable cloudflared-ml110.service systemctl start cloudflared-ml110.service # 6. Check status systemctl status cloudflared-ml110.service ``` ### Option 2: Using cloudflared service install (if supported) If `cloudflared service install` works with tokens: ```bash sudo cloudflared service install eyJhIjoiNTJhZDU3YTcxNjcxYzVmYzAwOWVkZjA3NDQ2NTgxOTYiLCJ0IjoiY2NkNzE1MGEtOTg4MS00YjhjLWExMDUtOWI0ZWFkNmU2OWEyIiwicyI6IkZtems1ZDdUWDR0OW03Q0huVU9DYTYyTFdiQVFPZkZKa2duRHhQdExkZldKNGVvTHgyckw5K2szVCs5N0lFTFFoNGdHdHZLbzNacGZpNmI4TkdxdUlnPT0ifQ== ``` **Note:** This command may create a default service. You may need to: 1. Update the config file it creates 2. Or use the manual installation above for more control ## Verify Installation ```bash # Check service status systemctl status cloudflared-ml110.service # Check logs journalctl -u cloudflared-ml110.service -f # Test connectivity curl -I https://ml110-01.d-bis.org ``` ## Next Steps After ml110 is working, you'll need tokens for: - `tunnel-r630-01` (ID: `4481af8f-b24c-4cd3-bdd5-f562f4c97df4`) - `tunnel-r630-02` (ID: `0876f12b-64d7-4927-9ab3-94cb6cf48af9`) Get them from Cloudflare Dashboard → Zero Trust → Networks → Tunnels → [tunnel name] → Configure → Download credentials file