Spaces:
Runtime error

hjm1a commited on
Commit
8783d6a
1 Parent(s): 755292c

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +10 -192
config.json CHANGED
@@ -1,204 +1,22 @@
1
  {
2
- "policy": {
3
- "system": {
4
- "statsOutboundUplink": true,
5
- "statsOutboundDownlink": true
6
- }
7
- },
8
- "log": {
9
- "access": "",
10
- "error": "",
11
- "loglevel": "warning"
12
- },
13
  "inbounds": [
14
  {
15
- "tag": "socks",
16
- "port": 10808,
17
- "listen": "127.0.0.1",
18
- "protocol": "socks",
19
- "sniffing": {
20
- "enabled": true,
21
- "destOverride": [
22
- "http",
23
- "tls"
24
- ],
25
- "routeOnly": false
26
- },
27
- "settings": {
28
- "auth": "noauth",
29
- "udp": true,
30
- "allowTransparent": false
31
- }
32
- },
33
- {
34
- "tag": "http",
35
- "port": 10809,
36
- "listen": "127.0.0.1",
37
- "protocol": "http",
38
- "sniffing": {
39
- "enabled": true,
40
- "destOverride": [
41
- "http",
42
- "tls"
43
- ],
44
- "routeOnly": false
45
- },
46
  "settings": {
47
- "auth": "noauth",
48
- "udp": true,
49
- "allowTransparent": false
50
- }
51
- },
52
- {
53
- "tag": "socks2",
54
- "port": 10810,
55
- "listen": "0.0.0.0",
56
- "protocol": "socks",
57
- "sniffing": {
58
- "enabled": true,
59
- "destOverride": [
60
- "http",
61
- "tls"
62
- ],
63
- "routeOnly": false
64
- },
65
- "settings": {
66
- "auth": "noauth",
67
- "udp": true,
68
- "allowTransparent": false
69
- }
70
- },
71
- {
72
- "tag": "http2",
73
- "port": 10811,
74
- "listen": "0.0.0.0",
75
- "protocol": "http",
76
- "sniffing": {
77
- "enabled": true,
78
- "destOverride": [
79
- "http",
80
- "tls"
81
- ],
82
- "routeOnly": false
83
- },
84
- "settings": {
85
- "auth": "noauth",
86
- "udp": true,
87
- "allowTransparent": false
88
- }
89
- },
90
- {
91
- "tag": "api",
92
- "port": 9090,
93
- "listen": "127.0.0.1",
94
- "protocol": "dokodemo-door",
95
- "settings": {
96
- "udp": false,
97
- "address": "127.0.0.1",
98
- "allowTransparent": false
99
- }
100
- }
101
- ],
102
- "outbounds": [
103
- {
104
- "tag": "proxy",
105
- "protocol": "vless",
106
- "settings": {
107
- "vnext": [
108
  {
109
- "address": "104.16.68.210",
110
- "port": 443,
111
- "users": [
112
- {
113
- "id": "0642693f-e2eb-4e62-989f-c86c8e64740d",
114
- "alterId": 0,
115
- "email": "t@t.tt",
116
- "security": "auto",
117
- "encryption": "none"
118
- }
119
- ]
120
  }
121
  ]
122
- },
123
- "streamSettings": {
124
- "network": "ws",
125
- "security": "tls",
126
- "tlsSettings": {
127
- "allowInsecure": false,
128
- "serverName": "vless-4sl.pages.dev",
129
- "fingerprint": "edge",
130
- "show": false
131
- },
132
- "wsSettings": {
133
- "path": "/?ed=2048",
134
- "headers": {
135
- "Host": "vless-4sl.pages.dev"
136
- }
137
- }
138
- },
139
- "mux": {
140
- "enabled": false,
141
- "concurrency": -1
142
  }
143
- },
 
 
144
  {
145
- "tag": "direct",
146
- "protocol": "freedom",
147
  "settings": {}
148
- },
149
- {
150
- "tag": "block",
151
- "protocol": "blackhole",
152
- "settings": {
153
- "response": {
154
- "type": "http"
155
- }
156
- }
157
  }
158
- ],
159
- "stats": {},
160
- "api": {
161
- "tag": "api",
162
- "services": [
163
- "StatsService"
164
- ]
165
- },
166
- "dns": {
167
- "hosts": {
168
- "dns.google": "8.8.8.8",
169
- "proxy.example.com": "127.0.0.1"
170
- },
171
- "servers": [
172
- {
173
- "address": "223.5.5.5",
174
- "domains": [
175
- "geosite:cn"
176
- ],
177
- "expectIPs": [
178
- "geoip:cn"
179
- ]
180
- },
181
- "1.1.1.1",
182
- "8.8.8.8",
183
- "https://dns.google/dns-query"
184
- ]
185
- },
186
- "routing": {
187
- "domainStrategy": "AsIs",
188
- "domainMatcher": "linear",
189
- "rules": [
190
- {
191
- "type": "field",
192
- "inboundTag": [
193
- "api"
194
- ],
195
- "outboundTag": "api"
196
- },
197
- {
198
- "type": "field",
199
- "port": "0-65535",
200
- "outboundTag": "proxy"
201
- }
202
- ]
203
- }
204
  }
 
1
  {
 
 
 
 
 
 
 
 
 
 
 
2
  "inbounds": [
3
  {
4
+ "port": 16823, // 服务器监听端口
5
+ "protocol": "vmess", // 主传入协议
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  "settings": {
7
+ "clients": [
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  {
9
+ "id": "b831381d-6324-4d53-ad4f-8cda48b30811", // 用户 ID,客户端与服务器必须相同
10
+ "alterId": 0
 
 
 
 
 
 
 
 
 
11
  }
12
  ]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13
  }
14
+ }
15
+ ],
16
+ "outbounds": [
17
  {
18
+ "protocol": "freedom", // 主传出协议
 
19
  "settings": {}
 
 
 
 
 
 
 
 
 
20
  }
21
+ ]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
22
  }