Hysteria2
How the Hysteria2 protocol works in V2RayTun — a high-speed QUIC-based proxy with salamander obfuscation.
What Is Hysteria2?
Hysteria2 is a proxy protocol built on QUIC (UDP-based transport). It is optimized for high-throughput, lossy networks and includes built-in obfuscation to bypass DPI. V2RayTun integrates Hysteria2 as a native Xray inbound, so it runs alongside VLESS Reality within the same Xray-core process.
Key Features
- QUIC transport — multiplexed, encrypted UDP streams with built-in congestion control.
- Salamander obfuscation — transforms QUIC packets so they no longer match known QUIC signatures.
- Brutal congestion control — allows manual bandwidth targets for maximum throughput on unreliable links.
Salamander Obfuscation
Salamander wraps each QUIC packet in a layer that randomizes its structure. An observer sees UDP traffic that does not match any known protocol fingerprint.
The obfuscation is configured with a shared password between client and server. V2RayTun generates this password automatically per inbound.
Configuration in V2RayTun
Hysteria2 is enabled per node. V2RayTun handles the following automatically:
- Creates an Xray Hysteria2 inbound on the configured port.
- Generates a TLS certificate (self-signed or via the panel's CA).
- Sets the salamander obfuscation password.
- Assigns per-user passwords derived from user UUIDs.
Default port: 8443 (TCP/UDP).
| Field | Default | Description |
|---|---|---|
| Port | 8443 | Listening port (QUIC/UDP) |
| Obfuscation | salamander | Obfuscation method |
| SNI | node FQDN | TLS server name |
| Insecure | 1 | Allow self-signed certs on clients |
URI Format
hysteria2://password@ip:8443/?insecure=1&sni=example.com&obfs=salamander&obfs-password=OBF_PASSWORD#NAME| Parameter | Meaning |
|---|---|
password | User authentication password |
insecure | Skip TLS verification (1 = yes) |
sni | TLS server name indication |
obfs | Obfuscation type (salamander) |
obfs-password | Shared obfuscation password |
Compatible Clients
| Platform | Client |
|---|---|
| Android | Hiddify, v2rayNG (v1.9+) |
| iOS | Streisand, Hiddify |
| Windows | Hiddify, Nekoray |
| macOS | Hiddify |
| Linux | Nekoray, Hysteria CLI |
Import the subscription URL — clients that support Hysteria2 will automatically pick up the configuration.