Files
XTLS_Xray-docs-next/docs/en/config/outbounds/hysteria.md
T

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 underlying transport. In Xray, the proxy protocol and the underlying transport are separated. For more details (such as brutal), please refer to hysteriaSettings finalmask.quicParams in the underlying transport section.

::: 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": [
    {
      // ...
      "settings": {
        // [!code focus:3]
        "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.