cftunnel
Last updated
全协议内网穿透 CLI — Cloud 模式免费 HTTP/WS 穿透 + Relay 模式自建中继 TCP/UDP 全协议 | Cloudflare Tunnel + frp 双引擎
Install with winget
$ winget install --id qingchencloud.cftunnel --exact --version 0.8.1Run in Command Prompt, PowerShell, or Windows Terminal. Prompts for any agreements.
For Intune admins
Stop chasing app updates. Pckgr patches them for you.
Automated application patching for Microsoft Intune. Pckgr keeps a curated library of 1,000+ apps continuously up-to-date in your tenant via Microsoft Graph - no manual repackaging, no chasing vendor sites.
Start free 30-day trialNo credit card required.
About
全协议内网穿透工具 — Cloud 模式免费穿透 HTTP/WS + Relay 模式自建中继 TCP/UDP 全协议。
特性
Cloud 模式(Cloudflare Tunnel):
- 免域名模式 — cftunnel quick <端口>,零配置生成 *.trycloudflare.com 临时公网地址
- 访问保护 — --auth user:pass 一键启用密码保护,内置鉴权代理中间件
- 极简操作 — init → create → add → up,4 步搞定自有域名穿透
- 自动 DNS — 添加路由时自动创建 CNAME 记录,删除时自动清理
Relay 模式(自建中继):
- 全协议穿透 — TCP / UDP / HTTP,游戏服务器、数据库、SSH、远程桌面
- 一键部署 — 服务端 curl | bash 或 Docker Compose,客户端 relay init 即连
- 快速穿透 — cftunnel quick <端口> --relay,无需预配置规则
通用:
- 跨平台 — macOS (Intel/Apple Silicon) + Linux (amd64/arm64) + Windows (amd64/arm64)
- 进程托管 — 自动下载引擎二进制,支持 macOS launchd / Linux systemd / Windows Service
- 自动更新 — 内置版本检查和一键自更新
- 便携模式 — 程序同级目录放 portable 空文件,配置/日志/二进制就地存储
- 桌面客户端 — cftunnel-app 提供可视化 GUI
- AI 友好 — 内置 Claude Code / OpenClaw Skills,AI 助手可直接管理隧道
Installers · v0.8.1
Copy a command tailored to that specific architecture, type, and scope - useful when winget would otherwise pick a different default.
Security
No known CVEs for cftunnel.
Coverage is best-effort and depends on a winget package mapping to an NVD CPE entry. Absence here is not a guarantee of safety.