- #1
- 已编辑
有台多IP的VPS,想把IP分给开的小鸡
基于魔方云
有台多IP的VPS,想把IP分给开的小鸡
基于魔方云
确保你的那个多ip的机器支持虚拟化
#2 xiaoxinmm 那肯定是可以虚拟化的,就是不知道IP如何分配,分配上去,小鸡还是不能访问
搭建X-UI 把内网IP1 和内网IP2 改成你自己的ip
{
“api”: {
“services”: [
“HandlerService”,
“LoggerService”,
“StatsService”
],
“tag”: “api”
},
“inbounds”: [
{
“listen”: “127.0.0.1”,
“port”: 62789,
“protocol”: “dokodemo-door”,
“settings”: {
“address”: “127.0.0.1”
},
“tag”: “api”
}
],
“outbounds”: [
{
“tag”: “ip1”,
“sendThrough”: “内网IP1”,
“protocol”: “freedom”,
“settings”: {}
},
{
“tag”: “ip2”,
“sendThrough”: “内网IP2”,
“protocol”: “freedom”,
“settings”: {}
},
{
“protocol”: “freedom”,
“settings”: {}
},
{
“protocol”: “blackhole”,
“settings”: {},
“tag”: “blocked”
}
],
“policy”: {
“system”: {
“statsInboundDownlink”: true,
“statsInboundUplink”: true
}
},
“routing”: {
“rules”: [
{
“inboundTag”: [
“inbound-端口”,“inbound-端口”
],
“outboundTag”: “ip1”,
“type”: “field”
},
{
“inboundTag”: [
“inbound-端口”,“inbound-端口”
],
“outboundTag”: “ip2”,
“type”: “field”
},
{
“inboundTag”: [
“api”
],
“outboundTag”: “api”,
“type”: “field”
},
{
“ip”: [
“geoip:private”
],
“outboundTag”: “blocked”,
“type”: “field”
},
{
“outboundTag”: “blocked”,
“protocol”: [
“bittorrent”
],
“type”: “field”
}
]
},
“stats”: {}
}