ccy.dev
/

gtmux / Direct 隧道Direct tunnel

Direct——托管边缘被封时的隧道Direct — the tunnel for when the hosted edge is blocked

「任意网络」默认走 Standard:零配置的托管隧道,免费,绝大多数网络下就该用它。但有些网络——部分公司内网、部分地区——会封锁或劫持托管边缘,Standard 根本连不上。Direct 为此存在:走 443 直连 gtmux 自己的服务器,不经过被封的边缘。 "Anywhere" defaults to Standard: a zero-config hosted tunnel, free, and the right choice on most networks. Some networks — certain corporate ones, certain regions — block or hijack the hosted edge, and Standard simply can't connect. Direct exists for that: straight over 443 to gtmux's own server, bypassing the blocked edge.

先确认你真的需要First, check you actually need it

Standard 能连上就用 Standard——Direct 不会更快,只是可达。判断办法:gtmux tunnel 起不来、手机端报 1033/530、或 ~/.local/share/gtmux/tunnel.log 里反复出现连不上边缘的错误,才是 Direct 的场景。 If Standard connects, use Standard — Direct isn't faster, it's just reachable. The tell: gtmux tunnel won't come up, the phone shows 1033/530, or ~/.local/share/gtmux/tunnel.log keeps failing to reach the edge. That's the Direct scenario.

解锁与使用Unlock and use

gtmux tunnel --redeem <访问码>     # unlock once — writes the config for this Mac
gtmux tunnel --backend self        # then run Direct (or flip it in the menu bar)

菜单栏 app 里同样能操作:偏好设置 → 远程访问 → 任意网络下把隧道切到直连,未解锁时会提示你贴访问码。访问码等同凭证——别贴到公开的地方。 The menu-bar app does the same: Preferences → Remote access → under Anywhere, switch the tunnel to Direct; if not yet unlocked it prompts for the access code. An access code is a credential — don't paste it anywhere public.

获取访问码Get an access code

写封邮件到 gtmux@ccy.dev,说明你的使用场景,一般 24 小时内回复价格与付款方式。Direct 是付费解锁——它背后是一台真实运转、有带宽成本的服务器。 Email gtmux@ccy.dev with a line about your use case; you'll hear back within a day with the price and payment options. Direct is a paid unlock — there's a real server with real bandwidth behind it.

或直接购买(微信/支付宝):爱发电 · gtmux Direct 访问码 ¥68,付款后 24 小时内通过爱发电私信发码。 Or buy directly (WeChat/Alipay): Afdian · gtmux Direct access code, ¥68 — the code arrives by Afdian DM within 24 hours.

海外买家(国际信用卡,$9.99):Lemon Squeezy,付款后在确认页点按钮即时取码。 International cards ($9.99): Lemon Squeezy — get your code instantly on the confirmation screen after payment.

不想付费?自托管,完全支持Rather not pay? Self-hosting is fully supported

有自己的服务器和域名,就不需要访问码:仓库里的 deploy/self-tunnel/ 一键脚本把同一套 Direct 架在你自己的机器上,GTMUX_SELFTUNNEL_URL + GTMUX_SELFTUNNEL_SECRET 指过去即可。gtmux 是开源项目,付费的只是「用我们这台服务器」这一件事。 With your own server and domain you don't need a code: deploy/self-tunnel/ in the repo stands up the same Direct stack on your own machine — point GTMUX_SELFTUNNEL_URL + GTMUX_SELFTUNNEL_SECRET at it. gtmux is open source; the only thing that costs money is using our server.


← 手机与网页远程管理指南 · 远程访问文档 ← the phone & web guide · remote-access docs