-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yaml
59 lines (59 loc) · 1.13 KB
/
config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
listen: :443
tls:
cert: /etc/hysteria/ca.crt
key: /etc/hysteria/ca.key
quic:
initStreamReceiveWindow: 26843545
maxStreamReceiveWindow: 26843545
initConnReceiveWindow: 67108864
maxConnReceiveWindow: 67108864
maxIdleTimeout: 4s
keepAlivePeriod: 4s
maxIncomingStreams: 1024
disablePathMTUDiscovery: false
auth:
type: userpass
userpass:
masquerade:
type: proxy
proxy:
url: https://abadis.ir/
rewriteHost: true
resolver:
type: tcp
tcp:
addr: 8.8.8.8:53
timeout: 4s
udp:
addr: 8.8.4.4:53
timeout: 4s
tls:
addr: 1.1.1.1:853
timeout: 10s
sni: cloudflare-dns.com
insecure: true
https:
addr: 1.1.1.1:443
timeout: 10s
sni: cloudflare-dns.com
insecure: true
disableUDP: false
ignoreClientBandwidth: true
udpIdleTimeout: 30s
acl:
inline:
- reject(geosite:ir)
- reject(geoip:ir)
- reject(geosite:category-ads-all)
- reject(geoip:private)
geoip: /etc/hysteria/geoip.dat
geosite: /etc/hysteria/geosite.dat
outbounds:
- name: direct
type: direct
- name: warp
type: socks5
socks5:
addr: 127.0.0.1:40000
trafficStats:
listen: :7687