首页
文章导航
留言板
友链
更多
关于
推荐
wszx博客
Search
1
cloudflare上免费部署随机地址生成器
2 阅读
2
Linux系统下常用命令【不断补充】
1 阅读
3
套cf后 站点WAF防火墙规则设定 这2+1就够了 全能防御恶意流量攻击!
1 阅读
4
分享一些免费的 ChatGPT 镜像网站
1 阅读
5
白嫖Lade io保姆级教程 从注册到搭建vmess节点应用,可开3个1C128MB实例,8个地区可选!
1 阅读
默认
日常
学习
技术
登录
Search
标签搜索
cloudflare
白嫖
安装
CF
脚本
壁纸
图片
docker
Linux
Caddy
代码
哪吒
域名
节点
桌面壁纸
手机壁纸
NAT
LXC
优选
HTML
ws01
累计撰写
109
篇文章
累计收到
61
条评论
首页
栏目
默认
日常
学习
技术
页面
文章导航
留言板
友链
关于
推荐
wszx博客
搜索到
1
篇与
的结果
2024-03-19
x-ui面板实现多ip分流出站
x-ui面板实现多ip分流出站 xui是最简单的面板,估计没有之一通过xui实现多ip分流也很简单创建好入站后直接修改面板设置里的xray配置模板就可以了本文摘自:https://kev.fit/archives/43/{ "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": "1.1.1.1", "protocol": "freedom", "settings": {} }, { "tag": "ip2", "sendThrough": "1.1.1.2", "protocol": "freedom", "settings": {} }, { "protocol": "freedom", "settings": {} }, { "protocol": "blackhole", "settings": {}, "tag": "blocked" } ], "policy": { "system": { "statsInboundDownlink": true, "statsInboundUplink": true } }, "routing": { "rules": [ { "inboundTag": [ "inbound-xxxxx","inbound-xxxxx" ], "outboundTag": "ip1", "type": "field" }, { "inboundTag": [ "inbound-xxxxx","inbound-xxxxx" ], "outboundTag": "ip2", "type": "field" }, { "inboundTag": [ "api" ], "outboundTag": "api", "type": "field" }, { "ip": [ "geoip:private" ], "outboundTag": "blocked", "type": "field" }, { "outboundTag": "blocked", "protocol": [ "bittorrent" ], "type": "field" } ] }, "stats": {} }xray的通信原理是inbound-routing-outbound,也就是入站-路由规则-出站入站节点内容存放在数据库内,不在模板中,数据库与模板共同组合成config.json要实现多ip分流,主要是通过修改路由规则将入站列表中的节点与不同的出站ip进行连接所以编辑routing和outbound即可,创建好节点后inbound内容无需修改
2024年03月19日
0 阅读
0 评论
0 点赞
您是第
165248
位访客