vmess协议配置
{
"inbounds": [{
"port": 60000, //下一个客户端节点如果式http就配置http协议
"listen": "0.0.0.0",
"protocol": "http",
"users": [
{
"user": "root",
"pass": "root"
}
]
}],
"outbounds": [{ //出口指向你的服务端节点
"protocol": "vmess",
"settings": {
"vnext": [{
"address": "",//服务端ip
"port": 10086, //服务端端口
"users": [{ "id": "xxxxxxx-xxxx-xxxx-xxxx-xxxxxx" }]//服务端uuid
}]
}
},{
"protocol": "freedom",
"tag": "direct",
"settings": {}
}],
"routing": {
"domainStrategy": "IPOnDemand",
"rules": [{
"type": "field",
"ip": ["geoip:private"],
"outboundTag": "direct"
}]
}
}