kirin10000 / Xray-script

Xray:(VLESS/VMess)-(TCP/gRPC/WebSocket)-(XTLS/TLS)+Web 搭建/管理脚本

Home Page:https://github.com/kirin10000/Xray-script

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

在config.json中设置routing后报错,xray无法启动

rogueqi opened this issue · comments

我想使用warp对出站流量进行分流,但是在config.json中设置routing报错,我不知道下面的代码哪里有问题,盼告知,只要在rules加入内容xray就无法启动,如果rules是空的[]则xray可以启动
"routing": { "domainStrategy": "IPIfNonMatch", "rules": [ { "type": "field", "outboundTag": "socks5-warp", "domain": ["geosite:google"] } ] }

如果你的规则没问题的话,你需要把geosite.dat和geoip.dat上传到/usr/local/share/xray/目录下,重启xray方可生效。

@bluejerry2021 非常感谢!就是这个问题,已经解决了!