OpenClash
这里的OpenClash是指OpenWRT上用的luci-app-openclash
有时想实现一些自定义的分流规则,无法通过现成的规则文件实现需求,那么就需要前往 OpenClash 的 “覆写设置”-“规则设置” 中添加自定义参数。
kex_exchange_identification: Connection closed by remote host
Connection closed by 20.205.243.166 port 22
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.原因:大部分机场都封22号端口,GitHub仓库用22号端口导致连接被拒绝
解决这个问题
openclash -> 全局设置(覆写设置) -> 规则设置(访问控制)-> 勾选 自定义规则(访问控制)
在第一个 textarea ,rules: 下面加这一行
- DST-PORT,22,DIRECT保存设置并重启openclash即可
ssh: Connection to [email protected]:22 exited: No auth methods could be used.相同的Clash规则,部署在路由器的OpenClash就是上不了ChatGPT
把浏览器http3关了试试 chrome://flags/#enable-quic
更新GEOIP,Openclash下载不了Country.mmdb,导致无法启动
ssh到openwrt上,下载之后再启动服务
cd /etc/openclash/
wget https://geolite.clash.dev/Country.mmdb最后更新于