新闻公告使用手机扫一扫查看
< 返回

xui 多IP配置 教程

2025-08-30 09:58 作者:icpserver 阅读量:18

直接使用x-ui官方库:

 
 
 
bash <(curl -Ls https://raw.githubusercontent.com/vaxilu/x-ui/master/install.sh)

然后在x-ui面板设置——Xray相关设置,删除默认规则,用以下规则替换。

 
 
 
{
"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,
  • 上一篇:没有了
  • 上一篇:3x-ui 一键脚本
  • 返回顶部