root@LEDE:~# grep -RniA3 "authentication" /etc/openclash /etc/config/openclash 2>/dev/null
/etc/openclash/47_112_97_173.yaml:5254:authentication:
/etc/openclash/47_112_97_173.yaml-5255-- Clash:ia41qSQq
--
/etc/config/openclash:305:config authentication
/etc/config/openclash-306- option enabled '1'
/etc/config/openclash-307- option username 'Clash'
/etc/config/openclash-308- option password 'ia41qSQq'
curl -x http://192.168.1.4:7893 -U Clash:ia41qSQq -I https://www.google.com/generate_204 --connect-timeout 10
curl -x http://127.0.0.1:7893 -U Clash:ia41qSQq -I https://www.google.com/generate_204 --connect-timeout 10
最简单做法:关闭 OpenClash 的代理认证。你截图里已经勾了“仅允许内网”,只在家里局域网用的话可以关
uci set openclash.@authentication[0].enabled='0'
uci commit openclash
/etc/init.d/openclash restart




当前共有 条评论