Skip to content

Hysteria2

Configuration Reference

proxies:
- name: "hysteria2"
  type: hysteria2
  server: server.com
  port: 443
  ports: 443-8443
  password: yourpassword
  up: "30 Mbps"
  down: "200 Mbps"
  obfs: salamander # Default is empty; if filled, obfs is enabled. Currently, only salamander is supported.
  obfs-password: yourpassword

  sni: server.com
  skip-cert-verify: false
  fingerprint: xxxx
  alpn:
    - h3
  ca: "./my.ca"
  ca-str: "xyz"

Common Fields

TLS Fields

Ports

Configuring this enables port jumping, ignoring port. Refer to Port Range for format.

Password

Authentication password.

Up/Down

Brutal rate control; if no unit is specified, the default is Mbps.

Obfs

QUIC traffic obfuscator type, can only be set to salamander. If left empty, it is disabled.

Obfs-password

QUIC traffic obfuscator password.