V2rayNg电脑端能用,没有问题.
V2rayNg手机端不能用,会出现 net/http: TLS handshake timeout
大家看看代码哪里有问题
是shortIds 设定的问题需要设定两个吗?
还是哪里的问题?
[ol]{
"log": {
"loglevel": "warning",
"access": "/var/log/xray/access.log",
"error": "/var/log/xray/error.log"
},
"inbounds": [
{
"listen": null,
"port": 443,
"protocol": "vless",
"settings": {
"clients": [
{
"id": "设定",
"flow": "xtls-rprx-vision"
}
],
"decryption": "none"
},
"streamSettings": {
"network": "tcp",
"security": "reality",
"realitySettings": {
"show": false,
"dest": "www.microsoft.com:443",
"xver": 0,
"serverNames": [
"www.microsoft.com"
],
"privateKey": "设定",
"shortIds": [
"88888888"
]
}
},
"sniffing": {
"enabled": true,
"destOverride": [
"http",
"tls"
]
}
}
],
"outbounds": [
{
"tag":"common",
"protocol": "freedom"
},
{
"protocol": "blackhole",
"settings": {},
"tag": "blocked"
}
],
"routing": {
"rules": [
{
"type": "field",
"outboundTag": "common",
"network": "udp,tcp"
},
{
"type": "field",
"outboundTag": "blocked",
"ip": [
"geoip:cn",
"geoip:private"
]
}
]
},
"policy": {
"statsInboundUplink": true,
"statsInboundDownlink": true,
"statsOutboundUplink": true,
"statsOutboundDownlink": true
},
"dns": null,
"transport": null,
"stats": null,
"reverse": null,
"fakeDns": null
}
[/ol]复制代码