tcptun

Protocols

Native tunnels in one topology.

Use native for tcptun-to-tcptun carriers, mux, and reverse publish. mixed / socks5 stay as authenticated local hops.

rawwsh2h3
01

native

Token

The only tunnel protocol in v0.5.0. raw + mux + reality or tls with carrier.mode=auto binds TCP and UDP on one address; outbound carrier.prefer selects adaptive, quic, or tcp. Resumable streams can preserve eligible TCP flows across carrier replacement.

Interop
tcptun ↔ tcptun
Default security
REALITY or TLS, carrier.mode auto/tcp/quic
Mux
Required for auto and QUIC carriers
tcptun config native --server proxy.example.com --port 9443
Native guide →