OpenWrt Install OpenClash

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

  1. uninstall dnsmasq
opkg remove dnsmasq
mv /etc/config/dhcp /etc/config/dhcp.bak
  1. 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
  1. Install luci-compat

In 21.02.3the version of OpenWrt, the execution opkg install luci-compatwill 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.

3. Reference Articles

  1. OpenClash Wiki
  2. Missing dependency luci-compat #2229

Guess you like

Origin blog.csdn.net/xs18952904/article/details/124600025