-
Notifications
You must be signed in to change notification settings - Fork 1
/
vmessconfig.json
71 lines (71 loc) · 1.38 KB
/
vmessconfig.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
{
"log": {
"loglevel": "debug",
"access": "/var/log/v2ray/access.log", // 这是 Linux 的路径
"error": "/var/log/v2ray/error.log"
},
"inbounds": [
{
"sniffing": {
"enabled": true,
"destOverride": [
"http",
"tls"
]
},
"port": 25565, // 服务器监听端口
"protocol": "vmess", // 主传入协议
"settings": {
"clients": [
{
"id": PassWordForChange,
"alterId": 0
}
]
}
}
],
"outbounds": [
{
"protocol": "freedom", // 主传出协议
"settings": {},
"tag": "freedom"
},
{
"protocol": "blackhole",
"settings": {},
"tag": "blackhole"
}
],
"routing": {
"rules": [
{
"type": "field",
"ip": [
"209.222.0.0/16"
],
"outboundTag": "freedom"
},
{
"type": "field",
"domain": [
"textures.minecraft.net",
"s.optifine.net",
"novoline.lol",
"sessionserver.mojang.com"
],
"outboundTag": "freedom"
},
{
"type": "field",
"port": "53",
"outboundTag": "freedom"
},
{
"type": "field",
"port": "0-65535",
"outboundTag": "blackhole"
}
]
}
}