Skip to content

hysteria2.yaml

All examples

Change addresses, credentials, certificate paths, and other deployment-specific values before use. This is a complete source file, not a guarantee it can run unchanged on your machine. Read its comments for prerequisites, then run shoes check with the adapted file.

examples/hysteria2.yaml
# Hysteria2 server examples
# Listen on all IPv4 and IPv6 addresses
- address: "[::]:443"
transport: quic
quic_settings:
cert: cert.pem
key: key.pem
alpn_protocols:
- h3
protocol:
type: hysteria2
password: supersecret
udp_enabled: true
# IPv4 only
- address: "0.0.0.0:8443"
transport: quic
quic_settings:
cert: cert.pem
key: key.pem
alpn_protocols:
- h3
protocol:
type: hysteria2
password: supersecret

View source at this revision