This repository is the clash package based on Dreamacro/clash for Openwrt.
LuCI support is on the https://github.com/chandelures/luci-app-simple-clash.
- Most of the features of open-source clash core are supported
- Transparent proxy support
- Forwarding DNS query to clash core
- (Optional) Clash geoip support
- (Optional) Clash dashboard support
- Update list of available packages
$ opkg update
- Choose correct .ipk based on the architecture of router from release page, and use Opkg package manager to install.
$ opkg install clash_*.ipk
- First, You should download the Openwrt Source Code or SDK as the basic enviroment to build the package.
$ git clone https://github.com/openwrt/openwrt
$ cd openwrt
or download Openwrt SDK from https://downloads.openwrt.org/
$ tar -Jxvf openwrt-sdk_*.tar.xz
$ cd openwrt-sdk_*
- Prepare build environment
$ ./scripts/feeds update -a
$ ./scripts/feeds install -a
$ git clone https://github.com/chandelures/openwrt-clash package/openwrt-clash
- Choose clash as a module or built-in module
$ make menuconfig
Network --->
<M> clash
Clash Configuration --->
[*] Include Country.mmdb
< > clash-dashboard
- Build packages
$ make package/openwrt-clash/{clean,compile} V=s