推广 热搜:

X-ui多IP搭建课程,多IP站群服务器达成源进源出分流

   日期:2025-06-12     来源:www.ysyskj.com    作者:二手网    浏览:492    评论:0    
核心提示:[db:简介]

先安装X-ui面板,直接用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,

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: {}

}

把以上规则中的IP和端口改成你服务器的内网IP和节点的端口即可。

 
标签: X-ui 站群
打赏
 
更多>同类二手资讯
0相关评论

热门推荐
推荐图文
推荐二手资讯
点击排行
网站首页  |  关于我们  |  联系方式  |  免责声明  |  版权隐私  |  网站地图  |  排名推广  |  广告服务  |  积分换礼  |  网站留言  |  RSS订阅  |  违规举报