Skip to content
Edit this page

TUIC Outbound (type: tuic)

Implements TUIC v5 over QUIC (powered by Wind TUIC + Quinn).

  • Feature: tuic (enabled in standard / default builds).
  • UDP: Always enabled (native datagram or quic stream relay).
  • connect-via: Parsed via common options, but ignored at runtime (QUIC dials directly).

Fields

Key Type Required Default Description
name, server, port Common Yes — Standard outbound options.
uuid UUID string Yes — TUIC v5 UUID.
password string Yes — TUIC v5 password.
ip string No None Override resolved IP for server.
sni string No server TLS SNI.
disable-sni bool No false Omit SNI during TLS handshake.
alpn list[string] No ["h3"] TLS ALPN list.
skip-cert-verify bool No false Skip TLS certificate verification.
udp-relay-mode "native" | "quic" No "native" Case-insensitive; unknown strings fall back to "quic".
congestion-controller "bbr" | "bbr3" | "cubic" | "new_reno" ("newreno") No "bbr" QUIC congestion control algorithm (case-insensitive).
reduce-rtt bool No false Enable QUIC 0-RTT handshake.
fast-open bool No false Logical OR with reduce-rtt (reduce-rtt || fast-open).
heartbeat-interval u64 (ms) No 3000 Heartbeat interval in milliseconds.
request-timeout u64 (ms) No 4000 Handshake/request timeout and QUIC idle timeout.
max-open-stream u64 No 32 Maximum concurrent streams per QUIC connection.
gc-interval u64 (ms) No 3000 UDP fragment garbage-collection interval.
gc-lifetime u64 (ms) No 15000 UDP fragment maximum lifetime.
send-window u64 (bytes) No 16777216 (16 MiB) QUIC send window.
receive-window u64 (bytes) No 8388608 (8 MiB) QUIC receive window.
max-udp-relay-packet-size u64 No 1500 Accepted for compatibility (unused in runtime).
tls-cert, tls-key string No None Paired mTLS client certificate and private key.

Example

proxies:
  - name: tuic-v5
    type: tuic
    server: tuic.example.com
    port: 8443
    uuid: "00000000-0000-0000-0000-000000000000"
    password: "your-tuic-password"
    sni: tuic.example.com
    alpn:
      - h3
    udp-relay-mode: native
    congestion-controller: bbr3
    reduce-rtt: true