tcptun

协议

一套拓扑里的 Native 隧道。

tcptun 互连请使用 native 载体、mux 与反向发布。mixed / socks5 仍作为已认证的本地跳。

rawwsh2h3
01

native

Token

v0.5.0 唯一的隧道协议。raw + mux + reality 或 tls,配合 carrier.mode=auto,会在同一地址绑定 TCP 和 UDP;出站 carrier.prefer 选择 adaptive、quic 或 tcp。可恢复流能在载体替换时保留符合条件的 TCP 流。

互操作
tcptun ↔ tcptun
默认安全
REALITY 或 TLS,carrier.mode 为 auto/tcp/quic
Mux
auto 与 QUIC 载体需要启用 mux
tcptun config native --server proxy.example.com --port 9443
native 指南 →