Xray-script icon indicating copy to clipboard operation
Xray-script copied to clipboard

为何在服务器端手工添加 routing xray启动失败?

Open tournet opened this issue 2 years ago • 5 comments

看到这个https://github.com/XTLS/Xray-core/issues/1027 想在服务器端添加以下routing配置,添加完后xray无法启动,求解。

"routing": { "domainStrategy": "IPIfNonMatch", "rules": [ { "type": "field", "ip": [ "geoip:cn" ], "outboundTag": "block" } ] },

tournet avatar Apr 18 '22 12:04 tournet

你发下你VPS端的完整配置,帮你看看得了

chika0801 avatar Apr 18 '22 12:04 chika0801

已找到原因,是因为@kirin10000的脚本默认不下载 geoip.dat, 下载一个放到/usr/local/bin/目录里就可以了。

tournet avatar Apr 18 '22 16:04 tournet

已找到原因,是因为@kirin10000的脚本默认不下载 geoip.dat, 下载一个放到/usr/local/bin/目录里就可以了。

萌新请问一下,服务端下载以后他这个geoip.dat会自动更新吗?还是需要我们定期去手动更新?

LYwyc avatar Apr 19 '22 01:04 LYwyc

没仔细看,可能要手动更新。

tournet avatar Apr 19 '22 04:04 tournet

已找到原因,是因为@kirin10000的脚本默认不下载 geoip.dat, 下载一个放到/usr/local/bin/目录里就可以了。

萌新请问一下,服务端下载以后他这个geoip.dat会自动更新吗?还是需要我们定期去手动更新?

不会自动更新

chika0801 avatar Apr 19 '22 06:04 chika0801