qingyaoyao789
qingyaoyao789
> 看代码知道问题在哪了,把quic禁用取消掉就好了。@vernesong  > >  > > 排查发现是这段逻辑出的问题 `luci-app-openclash/root/etc/init.d/openclash`中`1400`里边逻辑存在问题 [Code Link](https://github.com/vernesong/OpenClash/blob/8ebe09eec3d8e6dc115328ef54a2ca7c4d6d40ad/luci-app-openclash/root/etc/init.d/openclash#L1399) > > ```shell > bash-5.2# nft -f '/etc/openclash/china_ip_route.ipset' > /etc/openclash/china_ip_route.ipset:8667:14-16: Error: No such file or directory > add...
可能是 china_ip_route.ipset 文件格式的问题。使用ImmortalWrt 23.05,分别用 hyper-v和pve虚拟机,nft -f '/etc/openclash/china_ip_route.ipset',hyper-v 虚拟机下顺利运行,pve虚拟机下,报错;把pve虚拟机的china_ip_route.ipset文件替换成 hyper-v的,就可以顺利运行。

应该不是openclash的问题,是其它软件,把 nftabels 表 fw4 搞没了,所以会 出现 “/etc/openclash/china_ip_route.ipset:8667:14-16: Error: No such file or directory add set inet fw4 china_ip_route { type ipv4_addr; flags interval; auto-merge; }” 。