OpenWrt 安装 OpenClash
source link: https://blog.lucien.ink/archives/528/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
OpenWrt 安装 OpenClash
本文地址:blog.lucien.ink/archives/528
截止 2022 年 5 月 5 日,OpenWrt 的最新版本为 21.02.3
,OpenClash 的最新版本为 v0.45.12-beta
,在安装的过程中,遇到一些小问题,于是将安装过程写在这里记录一下。
1. 安装依赖
- 卸载 dnsmasq
opkg remove dnsmasq
mv /etc/config/dhcp /etc/config/dhcp.bak
- 安装依赖(除了 luci-compat)
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. 参考文章
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK