OpenWrt Install OpenClash
Address of this article: blog.lucien.ink/archives/528
As of May 5, 2022, the latest version of OpenWrt is 21.02.3
, and the latest version of OpenClash is v0.45.12-beta
. During the installation process, I encountered some minor problems, so I will write the installation process here to record it.
1. Install dependencies
- uninstall dnsmasq
opkg remove dnsmasq
mv /etc/config/dhcp /etc/config/dhcp.bak
- Install dependencies (except 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
- Install luci-compat
In 21.02.3
the version of OpenWrt, the execution opkg install luci-compat
will only prompt that no matching package can be found, so it needs to be installed manually.
After downloading the IPK from Luci-compat Download for Linux (ipk)/tmp
to , execute opkg install
.
2. Install OpenClash
Refer to OpenClash Wiki , download the latest IPK from the Release page, and install it.