Hysteria
Client implementation of the Hysteria protocol.
This page is very simple because the Hysteria protocol is actually composed of a simple proxy control protocol and a tuned QUIC transport implementation. In Xray, the proxy protocol and transport configuration are separated. For more details (such as brutal), please refer to transport configuration items hysteriaSettings and FinalMask.quicParams.
TIP
The hysteria protocol itself has no authentication. When using with a non hysteria transport layer, it will be unable to proxy udp, and using it with other transport layers is not recommended.
OutboundConfigurationObject
OutboundConfigurationObject corresponds to the settings item in OutboundObject.
{
"outbounds": [
{
// ...
"protocol": "hysteria",
"settings": {
"version": 2,
"address": "192.168.108.1",
"port": 3128
}
}
]
}2
3
4
5
6
7
8
9
10
11
12
13
14
version: number
Hysteria version, must be 2.
address: string
Hysteria proxy server address, required.
port: int
Hysteria proxy server port, required.