Skip to content

Hysteria2

Authentication and obfuscation passwords are separate. Ordinary setups do not need manual QUIC receive-window tuning; first confirm the endpoint, authentication, and UDP connectivity.

Node example

Merge this node into the configuration’s proxies list. Replace example addresses, identities, and credentials. If you rename Node, update group references too.

yaml
proxies:
  - name: Node
    type: hysteria2
    server: proxy.example.com
    port: 443
    password: YOUR_PASSWORD
    sni: proxy.example.com

Protocol fields

FieldHow to configure it
passwordServer authentication password.
ports / hop-intervalEnable hopping only over server-opened ports, for example ports: "443,8443"; interval is seconds.
up / downSet bandwidth-based rate control when needed, such as "20 Mbps"; use realistic bandwidth.
obfs / obfs-passwordSet salamander or gecko with its password only if enabled on the server.
sni / alpnMatch TLS name and application protocol negotiation to the service.

Groups and rules · Common fields · TLS · Transports

Reference: mihomo.