mirror of
https://github.com/apernet/hysteria.git
synced 2025-04-04 04:57:40 +03:00
77 lines
1.2 KiB
YAML
77 lines
1.2 KiB
YAML
listen: :8443
|
|
|
|
obfs:
|
|
type: salamander
|
|
salamander:
|
|
password: cry_me_a_r1ver
|
|
|
|
tls:
|
|
cert: some.crt
|
|
key: some.key
|
|
|
|
acme:
|
|
domains:
|
|
- sub1.example.com
|
|
- sub2.example.com
|
|
email: haha@cringe.net
|
|
ca: zero
|
|
disableHTTP: true
|
|
disableTLSALPN: true
|
|
altHTTPPort: 9980
|
|
altTLSALPNPort: 9443
|
|
dir: random_dir
|
|
|
|
quic:
|
|
initStreamReceiveWindow: 77881
|
|
maxStreamReceiveWindow: 77882
|
|
initConnReceiveWindow: 77883
|
|
maxConnReceiveWindow: 77884
|
|
maxIdleTimeout: 999s
|
|
maxIncomingStreams: 256
|
|
disablePathMTUDiscovery: true
|
|
|
|
bandwidth:
|
|
up: 500 mbps
|
|
down: 100 mbps
|
|
|
|
disableUDP: true
|
|
udpIdleTimeout: 120s
|
|
|
|
auth:
|
|
type: password
|
|
password: goofy_ahh_password
|
|
userpass:
|
|
yolo: swag
|
|
lol: kek
|
|
foo: bar
|
|
|
|
resolver:
|
|
type: udp
|
|
tcp:
|
|
addr: 123.123.123.123:5353
|
|
timeout: 4s
|
|
udp:
|
|
addr: 4.6.8.0:53
|
|
timeout: 2s
|
|
tls:
|
|
addr: dot.yolo.com:8853
|
|
timeout: 10s
|
|
sni: server1.yolo.net
|
|
insecure: true
|
|
|
|
outbounds:
|
|
- name: goodstuff
|
|
type: direct
|
|
direct:
|
|
mode: 64
|
|
bindIPv4: 2.4.6.8
|
|
bindIPv6: 0:0:0:0:0:ffff:0204:0608
|
|
bindDevice: eth233
|
|
|
|
masquerade:
|
|
type: proxy
|
|
file:
|
|
dir: /www/masq
|
|
proxy:
|
|
url: https://some.site.net
|
|
rewriteHost: true
|