声明:

  1. 仅供研究和测试,请勿将其用于任何收费或违法活动,后果自负。
  2. 仅供自用,不一定适合其他人。

特点

  1. 适用于国外直连,协议先进。
  2. 使用 VLESS + Vision + TLS
  3. 多节点最低延迟
  4. 白名单模式(绕过大陆)
  5. sing-box v1.11 及以上

配置

参考 小小白白话文通过 Cloudflare Warp 增强代理安全性


中转配置

鉴于 Xray-core 完善的文档,此处不再赘述过多细节。以下内容将补充说明如何在 sing-box 服务端配置 的基础上,添加 VLESS 等协议。

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
{
"log": {
"loglevel": "warning"
},
"inbounds": [
{
"listen": "0.0.0.0",
"port": 443,
"protocol": "vless",
"settings": {
"clients": [
{
"id": "***",
"flow": "xtls-rprx-vision"
}
],
"decryption": "none"
},
"streamSettings": {
"network": "raw",
"security": "reality",
"realitySettings": {
"dest": "console.jdcloud.com:443",
"xver": 0,
"serverNames": [
"console.jdcloud.com"
],
"privateKey": "***",
"shortIds": [
"***"
]
}
}
},
{
"listen": "0.0.0.0",
"port": 5353,
"protocol": "vmess",
"settings": {
"clients": [
{
"id": "***"
}
]
},
"streamSettings": {
"network": "kcp",
"kcpSettings": {
"header": {
"type": "dns",
"domain": "dns.alidns.com"
}
}
}
}
],
"outbounds": [
{
"tag": "proxy",
"protocol": "socks",
"settings": {
"servers": [
{
"address": "127.0.0.1",
"port": 21818
}
]
}
}
]
}

此处使用 console.jdcloud.com 作为 REALITY serverName ,可选择其他 IP 相近网址。可参考REALITY#vless-xtls-utls-reality-example-for-xray-core

使用 dns.alidns.com 作为 mkcp dns 的伪装域名,可替换为其他 dns,此处用于绕过校园网,可添加规则,使此入站流量过 10808 端口,走规则出站。