OpenWrt 安装 OpenClash
截止 2022 年 5 月 5 日,OpenWrt 的最新版本为 21.02.3,OpenClash 的最新版本为 v0.45.12-beta,在安装的过程中,遇到一些小问题,于是将安装过程写在这里记录一下。
OpenWrt 安装 OpenClash
OpenWrt 安装 OpenClash
截止 2022 年 5 月 5 日,OpenWrt 的最新版本为 21.02.3
,OpenClash 的最新版本为 v0.45.12-beta
,在安装的过程中,遇到一些小问题,于是将安装过程写在这里记录一下。
1. 安装依赖
- 卸载 dnsmasq
1
2
opkg remove dnsmasq
mv /etc/config/dhcp /etc/config/dhcp.bak
- 安装依赖(除了 luci-compat)
1
opkg install luci luci-base iptables dnsmasq-full coreutils coreutils-nohup bash curl jsonfilter ca-certificates ipset ip-full iptables-mod-tproxy kmod-tun
- 安装 luci-compat
在 21.02.3
版本的 OpenWrt 中,执行 opkg install luci-compat
只会提示找不到匹配的软件包,所以需要手动安装。
从 Luci-compat Download for Linux (ipk) 将 IPK 下载至 /tmp
后,执行 opkg install
即可。
2. 安装 OpenClash
参考 OpenClash Wiki,从 Release 页面下载最新的 IPK 后,安装即可。
3. 参考文章
This post is licensed under CC BY 4.0 by the author.