Hysteria
TIP
The hysteria protocol itself has no authentication; clients only take effect when used with the hysteria transport layer.
InboundConfigurationObject
json
{
"version": 2,
"clients": [
{
"auth": "5783a3e7-e373-51cd-8642-c83782b807c5",
"level": 0,
"email": "love@xray.com"
}
]
}1
2
3
4
5
6
7
8
9
10
2
3
4
5
6
7
8
9
10
version: number
Hysteria version, must be 2.
clients: [ ClientObject ]
An array representing a group of users approved by the server.
ClientObject
json
{
"auth": "5783a3e7-e373-51cd-8642-c83782b807c5",
"level": 0,
"email": "love@xray.com"
}1
2
3
4
5
2
3
4
5
auth: string
A string of any length.
level: number
User level. The connection will use the local policy corresponding to this user level.
The value of level corresponds to the level value in policy. If not specified, the default is 0.
User email, used to distinguish traffic from different users (reflected in logs and statistics).