返回 Skill 列表
extension
分类: 开发与工程无需 API Key

cloudflare-tunnel

管理和创建Cloudflare隧道(Argo Tunnel),将本地端口暴露到互联网。当您需要为WebChat或Nginx等本地服务设置远程访问而不想开放防火墙端口时,请使用此功能。

person作者: jakexiaohubgithub

Cloudflare Tunnel

Expose local services to the internet securely via cloudflared.

Workflows

🚀 Quick Start (Token-based)

If you already have a tunnel token from the Cloudflare Dashboard:

  • Docker (Isolated):
    docker run -d --name cloudflare-tunnel cloudflare/cloudflared:latest tunnel --no-autoupdate run --token <YOUR_TOKEN>
    
  • Direct Binary:
    cloudflared --no-autoupdate tunnel run --token <YOUR_TOKEN>
    

🛠️ Manual Setup (CLI)

  1. Login: cloudflared tunnel login
  2. Create: cloudflared tunnel create <name>
  3. Route: cloudflared tunnel route dns <name> <hostname>
  4. Run: cloudflared tunnel run <name>

Maintenance

  • List Tunnels: cloudflared tunnel list
  • Check Status: cloudflared tunnel info <name>