Xray-examples
Xray-examples copied to clipboard
grpc reality无法回落到vm ws上
trafficstars
grpc reality无法回落到vm ws上,配置入下,请大神们帮看看,谢谢。
{
"log": {
"loglevel": "warning"
},
"routing": {
"domainStrategy": "IPIfNonMatch",
"rules": [{
"type": "field",
"port": "80",
"network": "udp",
"outboundTag": "block"
},
{
"type": "field",
"ip": ["geoip:private"],
"outboundTag": "block"
}
]
},
"inbounds": [{
"listen": "0.0.0.0",
"port": 8443,
"protocol": "vless",
"settings": {
"clients": [{
"id": "47321e31-d52a-457c-96f5-4bc561453ed4",
"flow": ""
}],
"decryption": "none",
"fallbacks": [{
"dest": "31305",
"xver": 1
},
{
"path": "/vmessws",
"dest": 31304,
"xver": 1
}
]
},
"streamSettings": {
"network": "tcp",
"security": "reality",
"realitySettings": {
"show": false,
"dest": "www.yahoo.com:443",
"xver": 0,
"serverNames": ["www.yahoo.com", "news.yahoo.com"],
"privateKey": "oBdBkHEwXZ7dnPipt_Copr2Wdq0rJUFoN0lhyiYdOxc",
"publicKey": "76ovhpYBhO4kpoW9NcGS4zPWkanNypDkmzZv5oubjwb",
"shortIds": ["4a63e991984e9572"]
}
},
"sniffing": {
"enabled": true,
"destOverride": ["http", "tls", "quic"]
}
},
{
"port": 31305,
"listen": "0.0.0.0",
"protocol": "vless",
"tag": "VLESSRealityGRPC",
"settings": {
"clients": [{
"id": "47321e31-d52a-457c-96f5-4bc561453ed4",
"flow": ""
}],
"decryption": "none"
},
"streamSettings": {
"network": "grpc",
"grpcSettings": {
"serviceName": "myxray.com",
"multiMode": true
},
"sockopt": {
"acceptProxyProtocol": true
}
}
},
{
"port": 31304,
"listen": "0.0.0.0",
"protocol": "vmess",
"settings": {
"clients": [{
"id": "47321e31-d52a-457c-96f5-4bc561453ed4",
"level": 0
}]
},
"streamSettings": {
"network": "ws",
"security": "none",
"wsSettings": {
"acceptProxyProtocol": true,
"path": "/vmessws"
}
}
}
],
"outbounds": [{
"protocol": "freedom",
"tag": "direct"
},
{
"protocol": "blackhole",
"tag": "block"
}
],
"policy": {
"levels": {
"0": {
"handshake": 2,
"connIdle": 120
}
}
}
}