forked from ki8852/v2ray-heroku
-
Notifications
You must be signed in to change notification settings - Fork 0
/
client_config.json
100 lines (100 loc) · 1.97 KB
/
client_config.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
{
"log": {
"loglevel": "warning"
},
"inbound": {
"port": 8080,
"protocol": "http",
"listen": "127.0.0.1",
"settings": {}
},
"inboundDetour": [
{
"port": 1082,
"protocol": "socks",
"listen": "127.0.0.1",
"settings": {
"auth": "noauth",
"udp": true,
"ip": "127.0.0.1"
}
}
],
"outbound": {
"protocol": "vmess",
"settings": {
"vnext": [
{
"address": "xxxx.herokuapp.com", //填写自己的heroku应用名称
"port": 443,
"users": [
{
"id": "4890bd47-5180-4b1c-9a5d-3ef686543112", //如果自定义了UUID,请填写自己的
"alterId": 10,
"security": "aes-128-gcm"
}
]
}
]
},
"streamSettings": {
"network": "ws",
"security": "tls",
"tlsSettings": {
"serverName": "herokuapp.com",
"allowInsecure": true
},
"wsSettings": {
"path": "/FreeApp" //V2_PATH路径,默认/FreeApp。如有修改,请填入修改后的
}
},
"mux": {
"enabled": true,
"concurrency": 16
}
},
"outboundDetour": [
{
"protocol": "freedom",
"settings": {},
"tag": "direct"
}
],
"dns": {
"servers": [
"localhost"
]
},
"routing": {
"strategy": "rules",
"settings": {
"domainStrategy": "AsIs",
"rules": [
{
"type": "field",
"domain": ["geosite:cn"],
"outboundTag": "direct"
},
{
"type": "field",
"ip": [
"0.0.0.0/8",
"10.0.0.0/8",
"100.64.0.0/10",
"127.0.0.0/8",
"169.254.0.0/16",
"172.16.0.0/12",
"192.0.0.0/24",
"192.0.2.0/24",
"192.168.0.0/16",
"198.18.0.0/15",
"198.51.100.0/24",
"203.0.113.0/24",
"geoip:cn"
],
"outboundTag": "direct"
}
]
}
}
}