Cloudflare Tunnels¶
Active Tunnels¶
| Tunnel Name | Tunnel ID | Hostname | Origin |
|---|---|---|---|
| openclaw | 2cee0852-5148-4067-9d8d-092820394049 |
openclaw-deepcool.bigleagueinc.com |
http://127.0.0.1:18888 |
| nhl-agent | d4be20d4-5ec0-40e1-87be-d5166d558026 |
— | — |
Configuration¶
Config file location: C:\Users\ajay\.cloudflared\config.yml
tunnel: 2cee0852-5148-4067-9d8d-092820394049
credentials-file: C:\Users\ajay\.cloudflared\2cee0852-5148-4067-9d8d-092820394049.json
ingress:
- hostname: openclaw-deepcool.bigleagueinc.com
service: http://127.0.0.1:18888
- service: http_status:404
Key Files¶
| File | Purpose |
|---|---|
~/.cloudflared/cert.pem |
Origin certificate (login auth) |
~/.cloudflared/<tunnel-id>.json |
Tunnel credentials |
~/.cloudflared/config.yml |
Tunnel routing config |
Common Commands¶
# List tunnels
cloudflared tunnel list
# Start tunnel
cloudflared tunnel run openclaw
# Stop tunnel
taskkill /F /IM cloudflared.exe # Windows
# Create new tunnel
cloudflared tunnel create <name>
# Add DNS route
cloudflared tunnel route dns <tunnel-name> <hostname>
# Check tunnel info
cloudflared tunnel info openclaw
Install as Windows Service¶
This auto-starts the tunnel on boot using the default config.yml.
Troubleshooting¶
Port already in use¶
Tunnel won't connect¶
- Check
cloudflared tunnel list— is it created? - Check credentials file exists at path in config.yml
- Try
cloudflared tunnel run openclaw --loglevel debug