3X-UI 链式代理用 geosite 或者 geoip 都不行,请大佬救救我

84 天前
 destine
已在 Xray Config 中配置了 Outbounds 及 Routing Rules
Outbounds 的配置没什么问题,Routing Rules 中 Destination 在 Domain 中配置了 geosite:netflix 无效
但是如果将 geosite:netflix 去掉,所有流量都走 outbonds 则所有流量都可以被代理。
系统是 Debian 12, 3X-UI 是 github 上最新的版本。之前老版本没有这个问题。还请各位大佬帮忙看看
1464 次点击
所在节点    宽带症候群
9 条回复
destine
84 天前
补充一下,换了几台 VPS 都一样,系统 Ubuntu 也试过
Laoz666
84 天前
至少把你配置贴出来吧 不然靠算命吗
destine
84 天前
配置如下,谢谢大哥

{
"log": {
"access": "none",
"dnsLog": false,
"error": "",
"loglevel": "warning",
"maskAddress": ""
},
"api": {
"tag": "api",
"services": [
"HandlerService",
"LoggerService",
"StatsService"
]
},
"inbounds": [
{
"tag": "api",
"listen": "127.0.0.1",
"port": 62789,
"protocol": "dokodemo-door",
"settings": {
"address": "127.0.0.1"
}
}
],
"outbounds": [
{
"tag": "direct",
"protocol": "freedom",
"settings": {
"domainStrategy": "AsIs",
"redirect": "",
"noises": []
}
},
{
"tag": "blocked",
"protocol": "blackhole",
"settings": {}
},
{
"tag": "Outbound_SS",
"protocol": "shadowsocks",
"settings": {
"servers": [
{
"address": "80.80.80.80",
"port": 22288,
"password": "y4YQfpMkca4//sg=",
"method": "aes-256-gcm",
"uot": true
}
]
},
"streamSettings": {
"network": "tcp",
"security": "none",
"tcpSettings": {
"header": {
"type": "none"
}
}
}
}
],
"policy": {
"levels": {
"0": {
"statsUserDownlink": true,
"statsUserUplink": true
}
},
"system": {
"statsInboundDownlink": true,
"statsInboundUplink": true,
"statsOutboundDownlink": false,
"statsOutboundUplink": false
}
},
"routing": {
"domainStrategy": "AsIs",
"rules": [
{
"type": "field",
"domain": [
"geosite:netflix",
"youtube"
],
"inboundTag": [
"inbound-36630"
],
"outboundTag": "Outbound_SS"
},
{
"type": "field",
"inboundTag": [
"api"
],
"outboundTag": "api"
},
{
"type": "field",
"outboundTag": "blocked",
"ip": [
"geoip:private"
]
},
{
"type": "field",
"outboundTag": "blocked",
"protocol": [
"bittorrent"
]
}
]
},
"stats": {},
"metrics": {
"tag": "metrics_out",
"listen": "127.0.0.1:11111"
}
}
Asakijz
84 天前
shonnliberty
84 天前
@destine 这种问题交给 claude/Gemini 它们会帮你很快搞定。
szdosar
84 天前
那就用旧版好了,不折腾。
#x-ui
Please enter your selection [0-25]: 4
Enter the panel version (like 2.4.0):
383394544
84 天前
youtube 写错了,应为 geosite:youtube
Ipsum
84 天前
用了 geosite 怎么不开 dns server 或者 sniff ?或者你直接用 geoip 。
geosite 只是针对域名,你已经解析了域名,扔个 ip 过去,xray 怎么知道你想干嘛?
destine
83 天前
@Ipsum 感谢大佬,inbound 没开启 sniff ,开启后解决

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://ex.noerr.eu.org/t/1143027

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX