Files
XTLS_Xray-docs-next/docs/en/config/outbounds/hysteria.md
T
2026-05-25 18:39:42 +08:00

1.2 KiB

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",
      // [!code focus:5]
      "settings": {
        "version": 2,
        "address": "192.168.108.1",
        "port": 3128
      }
    }
  ]
}

version: number

Hysteria version, must be 2.

address: string

Hysteria proxy server address, required.

port: int

Hysteria proxy server port, required.