vernesong / OpenClash

A Clash Client For OpenWrt
MIT License
16.79k stars 3.09k forks source link

关闭openclash不会刷新防火墙? #819

Closed smallst closed 3 years ago

smallst commented 3 years ago

最近的版本似乎关闭openclash会导致无法上网,在路由器上试了下 firewall restart 后会恢复。启动openclash没有任何问题。 不确定是不是我个人的问题(比如路由器的其他影响防火墙的设置?)

hcym commented 3 years ago

好几个版本这样了,无所谓,一般很少开关,分流配置好基本不用管

smallst commented 3 years ago

@hcym 好的,虽然我也不怎么开关(主要也就是研究ipv6的时候),不过有bug还是要提的hhh

hcym commented 3 years ago

ipv6节点能用吗?我试过没用,唯一的遗憾了

smallst commented 3 years ago

@hcym 呃我不是试ipv6节点,是试普通ipv6站点 :joy:

vernesong commented 3 years ago

ssh 下 /etc/init.d/openclash stop 看看报错

smallst commented 3 years ago

@vernesong 有个鬼故事…… 运行 /etc/init.d/openclash stop 会显示 OpenClash Already Stopps -ef |grep openclash 会发现 openclash 还在运行,网页端也显示还在运行, 但 openclash_watchdog 会停止。 并且, /tmp/openclash_start.log 这个文件不存在= = 但网页端的停止运行可以停止 openclash, 唯一的问题是防火墙不会刷新

smallst commented 3 years ago

@vernesong 有个疑问,https://github.com/vernesong/OpenClash/blob/04bbcf6f56c794d8ee1013123ed2d0dd2a89cb55/luci-app-openclash/root/etc/init.d/openclash#L1632-L1635 这里为什么是判 enable!=1 ? 难道不是enable == 1 才需要kill openclash 吗

vernesong commented 3 years ago

你不是问防火墙吗,stop清除了没有

smallst commented 3 years ago

@vernesong stop 没有停止 clash, 但防火墙清除了

vernesong commented 3 years ago

那我就不清楚了,建议换固件