Skip to main content

Hysteria2

Hysteria2 is a high-performance proxy based on the QUIC protocol, designed for challenging network environments. It focuses on maximizing throughput and minimizing latency even on congested or high-loss links.

Protocol Standard

Example

# Hysteria2 proxy configuration with optional performance and security settings
ProxyHysteria2 = hysteria2, 1.2.3.4, 443, password=pwd, download-bandwidth=100, port-hopping="1234;5000-6000", port-hopping-interval=30, skip-cert-verify=true, sni=example.com, udp-relay=true

Format

{proxy name} = hysteria2, {server}, {port}, password={password}, download-bandwidth={bandwidth}, port-hopping={hopping}, port-hopping-interval={interval}, skip-cert-verify={skip}, sni={sni}, udp-relay={udp}

Parameters

NameValueMandatoryNote
proxy name-true
server-trueSupports domain and IP formats.
port1 - 65535true
password-trueAuthentication password.
download-bandwidth-falseMaximum download speed in Mbps.
port-hopping-falsePort hopping configuration (e.g., "1234;5000-6000").
port-hopping-interval-falseInterval for port hopping in seconds (e.g., 30).
skip-cert-verifytrue
false
falseDefault value: false. Set to true if the proxy does not have a valid TLS certificate.
sni-falseDefinition is unnecessary if the SNI value matches the host value.
udp-relaytrue
false
falseDefault value: true. Enable or disable UDP relay.