English
TUIC
The example uses TUIC v5. For v4, delete uuid and password and use token: YOUR_TOKEN. Never keep both authentication forms.
Node example
Merge this node into the configuration’s proxies list. Replace example addresses, identities, and credentials. If you rename Node, update group references too.
yaml
proxies:
- name: Node
type: tuic
server: proxy.example.com
port: 443
uuid: 00000000-0000-4000-8000-000000000001
password: YOUR_PASSWORD
sni: proxy.example.com
alpn: [h3]
udp-relay-mode: nativeProtocol fields
| Field | How to configure it |
|---|---|
uuid / password | TUIC v5 credentials; do not also set token. |
token | TUIC v4 authentication; remove uuid and password. |
udp-relay-mode | native or quic, according to the service and network. |
congestion-controller | cubic, new_reno, bbr, or bbr_meta_v1; new_reno when omitted. |
heartbeat-interval / request-timeout | Heartbeat interval and request timeout in milliseconds. |
reduce-rtt / disable-sni | reduce-rtt controls early handshake. disable-sni also disables ordinary TLS verification; normally keep it false. |
ip | The IP address to actually connect to; server is still used as the TLS name. |
udp-over-stream | Carries UDP over streams. This is a mihomo server extension that official TUIC servers do not support; turn it on only when the server enables it. |
Groups and rules · Common fields · TLS · Transports
Reference: mihomo.