2021-03-27 14:28:52 +00:00
|
|
|
{
|
|
|
|
"log": {
|
|
|
|
"loglevel": "warning"
|
|
|
|
},
|
|
|
|
"inbounds": [
|
|
|
|
{
|
2022-07-16 13:44:17 +00:00
|
|
|
"listen": "/dev/shm/Xray-VLESS-gRPC.socket,0666",
|
2021-03-27 14:28:52 +00:00
|
|
|
"protocol": "vless",
|
|
|
|
"settings": {
|
|
|
|
"clients": [
|
|
|
|
{
|
|
|
|
"id": "" // 填写你的 UUID
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"decryption": "none"
|
|
|
|
},
|
|
|
|
"streamSettings": {
|
|
|
|
"network": "grpc",
|
|
|
|
"grpcSettings": {
|
|
|
|
"serviceName": "" // 填写你的 ServiceName
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"outbounds": [
|
|
|
|
{
|
|
|
|
"tag": "direct",
|
|
|
|
"protocol": "freedom",
|
|
|
|
"settings": {}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"tag": "blocked",
|
|
|
|
"protocol": "blackhole",
|
|
|
|
"settings": {}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"routing": {
|
|
|
|
"domainStrategy": "AsIs",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"type": "field",
|
|
|
|
"ip": [
|
|
|
|
"geoip:private"
|
|
|
|
],
|
|
|
|
"outboundTag": "blocked"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|