Clash for Linux 一个更完整、更优雅的 Linux Clash / Mihomo 运行平台。
开箱即用:一键部署 mihomo / clash 内核、Web 面板及运行依赖。
软件链接:https://github.com/wnlen/clash-for-linux
安装软件
如果你只是浏览器看看视频,不下载文件的情况下,普通用户安装即可,如果需要下载文件则非常推荐使用 root 用户进行安装。
git clone --branch master --depth 1 https://ghfast.top/https://github.com/wnlen/clash-for-linux.git
cd clash-for-linux
bash install.shTUN模式
安装完毕后,如有需要,可开启 TUN 模式。开启 TUN 模式需要关闭自动配置代理。
# 开启 TUN 模式
clashctl tun on
# 关闭自动配置代理
clashctl boot proxy off需要重启一下电脑
# 检查开机后是否自动配置了代理
env | grep -i proxy
# 选择一个靠谱的节点
clashctl select常见报错
Read error at byte 1661285/29565475 (Error decoding the received TLS packet.). Retrying.
这个就是由于系统代理和 TUN 模式同时存在,或者节点路线不可靠造成的。
评论区