cloudflare-tunnel

Cloudflare Tunnel API for secure tunnels. Use when user mentions "Cloudflare tunnel", "argo tunnel", or secure connectivity.

By vm0-ai · 887 installs

npx skills add vm0-ai/vm0-skills --skill cloudflare-tunnel

Source repository · Upstream listing

Usage Basic curl Request Add two headers to authenticate through Cloudflare Access: With Additional Authentication Many services require both Cloudflare Access AND their own authentication: With Basic Auth POST Request with JSON Body Write to /tmp/request.json : Then run: Download File Skip SSL Verification (Self signed certs) Add k flag for services with self signed certificates: Required Headers Header Value Description CF Access Client Id <client id .access Service Token Client ID CF Access Client Secret <secret Service Token Client Secret Common Errors Error Cause Solution 403 Forbidden Invalid or missing headers Check Client ID and Secret 403 Forbidden Token not in Access policy Add token to application's Access policy 401 Unauthorized Service's own auth failed Check service specific credentials Connection refused Tunnel not running Verify cloudflared is running Tips 1. Header order doesn't matter CF headers can be anywhere in the request 2. Works with any HTTP method GET, POST, PUT, DELETE, etc. 3. Combine with other auth CF Access + Basic Auth, Bearer Token, etc. 4. Token rotation Rotate secrets periodically in Zero Trust dashboard API Reference Cloudflare Access: https://developers.cloudflare.com/cloudflare one/identity/service tokens/ Zero Trust Dashboard: https://one.dash.cloudflare.com/