科学上网 multi port
issues/679
create new UUID
cat /proc/sys/kernel/random/uuid
example config : multi port , multi user
vim /etc/v2???/config.json
{
"inbounds": [{
"port": 1234,
"protocol": "vmess",
"settings": {
"clients": [
{
"id": "UUID",
"level": 1,
"alterId": 64
},
{
"id": "UUID",
"level": 1,
"alterId": 64
}
]
}
},
{
"port": 1235,
"protocol": "vmess",
"settings": {
"clients": [
{
"id": "UUID",
"level": 1,
"alterId": 64
},
{
"id": "UUID",
"level": 1,
"alterId": 64
}
]
}
}],
"outbounds": [{
"protocol": "freedom",
"settings": {}
},{
"protocol": "blackhole",
"settings": {},
"tag": "blocked"
}],
"routing": {
"rules": [
{
"type": "field",
"ip": ["geoip:private"],
"outboundTag": "blocked"
}
]
}
}
最后
v2??? restart
重启 v2 的服务即可。