-
Notifications
You must be signed in to change notification settings - Fork 0
/
Hysteriaconfig.json
112 lines (102 loc) · 2.08 KB
/
Hysteriaconfig.json
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
{
"log": {
"disabled": false,
"level": "info",
"output": "!singbox-log",
"timestamp": true
},
"dns": {
"servers": [
{
"tag": "dns_resolver",
"address": "220.110.210.114"
},
{
"tag": "dns_proxy",
"address": "https://1.1.1.1/dns-query"
}
],
"rules": [
{
"inbound": [
"mixed-in"
],
"ip_version": 4,
"network": "tcp",
"auth_user": [
"nodoka"
],
"protocol": [
"tls",
"http",
"quic"
],
"server": "dns_resolver"
}
],
"final": "dns_proxy",
"strategy": "",
"disable_cache": false,
"disable_expire": false,
"independent_cache": false,
"reverse_mapping": false,
"fakeip": {}
},
"inbounds": [
{
"type": "hysteria2",
"listen": "::",
"listen_port": 443,
"users": [
{
"name": "!usrname",
"password": "!usrpassword"
}
],
"tls": {
"enabled": true,
"server_name": "::",
"key_path": "!keypath",
"certificate_path": "!fullchainpath"
},
"masquerade": "http://127.0.0.1:80"
}
],
"outbounds": [
{
"type": "direct",
"tag": "direct"
},
{
"type": "block",
"tag": "block"
}
],
"route": {
"rules": [
{
"rule_set": "geosite-category-ads-all",
"outbound": "block"
}
],
"rule_set": [
{
"tag": "geosite-category-ads-all",
"type": "remote",
"format": "binary",
"url": "https://raw.githubusercontent.com/SagerNet/sing-geosite/rule-set/geosite-category-ads-all.srs",
"download_detour": "direct"
},
{
"tag": "geosite-cn",
"type": "remote",
"format": "binary",
"url": "https://raw.githubusercontent.com/SagerNet/sing-geosite/rule-set/geosite-cn.srs",
"download_detour": "direct"
}
],
"auto_detect_interface": true,
"final": "direct"
},
"experimental": {}
}