cftunnel

cftunnel 0.8.1

Full-Protocol Intranet Penetration CLI — Free HTTP/WS Tunneling in Cloud Mode + Self-Hosted Full-Protocol TCP/UDP Relay in Relay Mode | Dual Engine Powered by Cloudflare Tunnel + frp

  • By 晴辰云
  • Open Source
  • Portable
  • Updated Mar 2, 2026
Download for Windows

About cftunnel

All-Protocol Intranet Tunneling Tool — Cloud Mode Free HTTP/WS Tunneling + Relay Mode Self-Hosted TCP/UDP All-Protocol Relay.

Features
Cloud Mode (Cloudflare Tunnel):
- No-Domain Mode — cftunnel quick <port>, generates *.trycloudflare.com temporary public address with zero configuration
- Access Protection — --auth user:pass enables password protection with one click, built-in authentication proxy middleware
- Minimalist Operation — init → create → add → up, set up custom domain tunneling in 4 steps
- Automatic DNS — Automatically creates CNAME records when adding routes, automatically cleans up when deleting
Relay Mode (Self-Hosted Relay):
- All-Protocol Tunneling — TCP / UDP / HTTP, game servers, databases, SSH, remote desktop
- One-Click Deployment — Server side curl | bash or Docker Compose, client side relay init to connect immediately
- Quick Tunneling — cftunnel quick <port> --relay, no pre-configured rules required
General:
- Cross-Platform — macOS (Intel/Apple Silicon) + Linux (amd64/arm64) + Windows (amd64/arm64)
- Process Hosting — Automatically downloads engine binaries, supports macOS launchd / Linux systemd / Windows Service
- Automatic Updates — Built-in version check and one-click self-update
- Portable Mode — Place an empty file named portable in the program's directory; configs/logs/binaries are stored locally
- Desktop Client — cftunnel-app provides a visual GUI
- AI Friendly — Built-in Claude Code / OpenClaw Skills, AI assistants can manage tunnels directly

What's new in 0.8.1

Changelog

  • 963537e fix(add): DNS 记录已存在时自动更新而非报错 (close #15)

Full release notes »

Technical details

Publisher晴辰云
AuthorWuhan Qingchen Tianxia Network Technology Co., Ltd.
Version0.8.1
Release date2026-03-02
LicenseMIT
Installer typezip
Architecturex64, arm64
Package IDqingchencloud.cftunnel

Install cftunnel from the command line

Install with Windows Package Manager
winget install --id=qingchencloud.cftunnel -e
Update to the latest version
winget upgrade --id=qingchencloud.cftunnel -e
Uninstall
winget uninstall --id=qingchencloud.cftunnel -e

cftunnel adds this command to the command line: cftunnel.

ethernetintranetnetworknetwork-switchswitch

Frequently asked questions

Is cftunnel free?

Yes. cftunnel is free and open-source software released under the MIT license.

What is the latest version of cftunnel?

The latest version is 0.8.1, released on Mar 2, 2026.

Is it safe to download cftunnel?

The download button links to the official installer published on github.com, the same file Windows Package Manager installs. You can verify the downloaded file by comparing its SHA-256 checksum with 006e8059c6f86da2c709eb2bfec48885ebf9a9ce28aac6668ef6abd1e956a294.

Which Windows versions does cftunnel support?

cftunnel runs on Windows and is available for 64-bit (x64), ARM64 systems.

How do I uninstall cftunnel?

Open Settings › Apps › Installed apps, find cftunnel and select Uninstall. From the command line, run winget uninstall --id=qingchencloud.cftunnel -e.

Is there a portable version of cftunnel?

Yes. cftunnel is available as a portable ZIP archive (cftunnel_windows_amd64.zip, 64-bit (x64)) that runs without installation. Copy it to any folder or USB drive and run it from there.