部署 Xray VLESS Reality 核心服务端Reality 协议不需要申请域名证书,通过借用(偷取)大型境外合规站点的 TLS 1.3 证书握手特征来抵御主动探测。使用官方 Xray-core 生成 UUID、公钥/私钥对(xray x25519)与 ShortID,并配置 config.json:
{
"inbounds": [
{
"port": 443,
"protocol": "vless",
"settings": {
"clients": [{ "id": "YOUR_UUID_HERE", "flow": "xtls-rprx-vision" }],
"decryption": "none"
},
"streamSettings": {
"network": "tcp",
"security": "reality",
"realitySettings": {
"show": false,
"dest": "gateway.icloud.com:443", // 伪装目标地址与端口
"xver": 0,
"serverNames": ["gateway.icloud.com"], // 客户端连接 SNI
"privateKey": "YOUR_PRIVATE_KEY_HERE",
"shortIds": ["0123456789abcdef"]
}
}
}
],
"outbounds": [{ "protocol": "freedom" }]
}