|
楼主 |
发表于 2020-1-17 14:21:16
|
显示全部楼层
我现在中转机这样配有错嘛。各位看看呢。
{
"log" : {
"access": "/var/log/v2ray/access.log",
"error": "/var/log/v2ray/error.log",
"loglevel": "warning"
},
"inbounds": [
{
"port": 10937,
"protocol": "vmess",
"settings": {
"clients": [
{
"id": "1dac6f6c-bd9c-41da-93c2-1de7f5de5b86",//中转机ID
"level": 1,
"alterId": 32
}
]
}
}
],
"outbounds": [
{
"protocol": "vmess",
"settings": {
"vnext": [
{
"address": "xxx.xxx.xxx.xxx",//落地机IP
"port": 10937,
"users": [
{"id": "ebfa47cc-781e-425b-8a49-de986c6cff25"}
]
}
]
}
},
{
"protocol": "blackhole",
"settings": {},
"tag": "block"
},
{
"protocol": "freedom",
"tag": "direct",
"settings": {}
}
],
"routing": {
"domainStrategy": "IPOnDemand",
"strategy": "rules",
"rules": [
{
"type": "field",
"ip": [
"geoip:cn"
],
"outboundTag": "block"
},
{
"type": "field",
"domain": [
"geosite:cn"
],
"outboundTag": "direct"
},
{
"type": "field",
"ip": [
"geoip:cn"
]
"outboundTag": "direct"
}
]
}
} |
|