On this page
What they share: QUIC over UDP
QUIC is the transport of HTTP/3. It runs over UDP, has TLS 1.3 built in and carries many streams in one connection, so a lost packet holds up only its own stream, not everything after it as in TCP. That is why both cope with mobile data, crowded Wi-Fi and distant servers better than VLESS, VMess or Trojan over TCP.
Both need a TLS certificate: a real one for a domain, or a self-signed one that the client pins or doesn't check. Both are proxies that a client app turns into a VPN. And both share one weakness: where UDP is blocked or throttled, neither connects, and neither goes through a CDN.
Hysteria2: its own speed control and a face for strangers
- Brutal — if the client knows its upload and download speed, Hysteria2 sends at that rate and makes up for lost packets instead of slowing down. Without a set speed it uses BBR. Set it honestly: a rate above what the line carries floods it.
- Masquerade — without the password the server behaves as an ordinary HTTP/3 web server: it passes visitors on to a real website, serves files from a folder or returns a fixed text.
- Salamander —
obfs=salamanderwith anobfs-passwordin the link: packets look like random bytes instead of QUIC. It helps where QUIC itself is blocked, but the server no longer looks like an HTTP/3 site. - Port hopping — the client moves across a range of UDP ports, every 30 seconds by default in Hysteria2's own client, while the server's firewall redirects the range to one port. In a link:
hysteria2://password@example.com:443,20000-30000/. - Login — a password, or names with passwords. The link is
hysteria2://password@address:port/?sni=domain, or the shorthy2://. - The server — an official install script, and it can obtain and renew a real certificate by itself.
TUIC v5: lean and configurable
- Login — a UUID and a password, both in the link:
tuic://uuid:password@address:port. - Congestion control — your choice of
cubic,new_renoorbbr, set in the config and often in the link ascongestion_control=bbr. On lossy linesbbrusually does better. When it isn't set, the program picks its own default (cubicin sing-box). - UDP relay mode —
udp_relay_mode=nativesends each UDP packet as it is, as an unreliable QUIC datagram, with little overhead, just like UDP itself;quiccarries UDP packets in QUIC streams, so none are lost, at the cost of more overhead.nativeis the usual default. - 0-RTT — an optional 0-RTT handshake makes reconnecting faster, but 0-RTT data can be replayed by someone on the path, so it is usually left off.
- No disguise of its own — TUIC has no masquerade website, no obfuscation layer and no port hopping. To the network it is QUIC with TLS, usually with
alpn=h3.
Speed under loss: Brutal against BBR
The biggest practical difference is how each one reacts to lost packets. Classic algorithms such as cubic and new_reno read every loss as congestion and slow down. BBR measures the line's real bandwidth and delay instead and slows down much less. Brutal goes furthest: with a set speed it doesn't slow down at all, it resends more.
So on a lossy line, with an honest speed set, Hysteria2 often holds the higher speed. TUIC with bbr is the gentler choice: it adapts to what the line gives and shares it with other traffic. Hysteria2 without a set speed also uses BBR, and then the difference comes down to the implementation and the network. Measure both on your own line rather than trusting other people's numbers.
Disguise and blocking
- QUIC is ordinary traffic — HTTP/3 sites use it every day, so a QUIC connection to port 443 doesn't stand out by itself.
- A stranger who knocks — Hysteria2 answers as a website when masquerade is set up; TUIC has no such face.
- QUIC itself is blocked, UDP passes — Hysteria2 with Salamander may still get through; TUIC has nothing similar.
- One long UDP flow gets throttled — Hysteria2's port hopping helps; TUIC stays on one port.
- UDP is closed entirely — neither works. You need a TCP profile, such as VLESS Reality.
- The server's IP is blocked — no protocol helps; only another server.
Hysteria2 and TUIC side by side
Transport
Hysteria2QUIC over UDP
TUIC v5QUIC over UDP
Link
Hysteria2
hysteria2://orhy2://TUIC v5
tuic://Login
Hysteria2A password, or names with passwords
TUIC v5A UUID and a password
Speed control
Hysteria2Brutal with a set speed, BBR without
TUIC v5cubic, new_reno or bbr, by choice
A stranger who knocks
Hysteria2Masquerade: a website, files or text
TUIC v5No masquerade
Obfuscation
Hysteria2Salamander, optional
TUIC v5None
Port hopping
Hysteria2Yes
TUIC v5No
UDP inside the tunnel
Hysteria2Built in
TUIC v5
nativeorquicmodeCertificate
Hysteria2Needed; the server can obtain a real one by itself
TUIC v5Needed
Programs that speak it
Hysteria2Hysteria2's own, sing-box, recent Xray
TUIC v5TUIC's own, sing-box; not Xray
In Veli
Hysteria2Computer and Android
TUIC v5Computer only
Which one to pick
- A service gives you a link — use it: the server decides the protocol.
- Lossy mobile data and you know your line's speed — Hysteria2 with an honest speed set.
- QUIC is blocked but UDP passes — Hysteria2 with Salamander.
- A network that throttles one long UDP flow — Hysteria2 with port hopping.
- A lean protocol with a standard congestion control that shares the line fairly — TUIC with
bbr. - Your own server set up by hand — Hysteria2 is simpler: an official script and a built-in certificate. A TUIC server is configured by hand, in the TUIC server program or in sing-box.
- UDP doesn't get through at all — neither; keep a VLESS Reality profile over TCP next to them.