This plug-in is a plug-in that can run on OpenWrt Clash client
Compatible with Shadowsocks, ShadowsocksR, Vmess, Trojan, Snell and other protocols, and implements policy proxying based on flexible rule configuration
- Thanks to frainzy1477 , this plug-in is based on Luci For Clash for secondary development -
- IPK Go to download
- luci
- luci-base
- dnsmasq-full
- coreutils
- coreutils-nohup
- bash
- curl
- ca-certificates
- ipset
- ip-full
- libcap
- libcap-bin
- ruby
- ruby-yaml
- unzip
- iptables(iptables)
- kmod-ipt-nat(iptables)
- iptables-mod-tproxy(iptables)
- iptables-mod-extra(iptables)
- kmod-tun (TUN mode)
- luci-compat(Luci >= 19.07)
- ip6tables-mod-nat(iptables-ipv6)
- kmod-inet-diag(PROCESS-NAME)
- kmod-nft-tproxy(Firewall4)
from OpenWrt of SDK compile
# Unzip the downloaded SDK
curl -SLk --connect-timeout 30 --retry 2 "https://archive.openwrt.org/chaos_calmer/15.05.1/ar71xx/generic/OpenWrt-SDK-15.05.1-ar71xx-generic_gcc-4.8-linaro_uClibc-0.9.33.2.Linux-x86_64.tar.bz2" -o "/tmp/SDK.tar.bz2"
cd \tmp
tar xjf SDK.tar.bz2
cd OpenWrt-SDK-15.05.1-*
# Clone project
mkdir package/luci-app-openclash
cd package/luci-app-openclash
git init
git remote add -f origin https://github.com/vernesong/OpenClash.git
git config core.sparsecheckout true
echo "luci-app-openclash" >> .git/info/sparse-checkout
git pull --depth 1 origin master
git branch --set-upstream-to=origin/master master
# Compile po2lmo (skip if po2lmo is available)
pushd luci-app-openclash/tools/po2lmo
make && sudo make install
popd
# Start compiling
# Go back to the SDK main directory first
cd ../..
make package/luci-app-openclash/luci-app-openclash/compile V=99
# IPK file location
./bin/ar71xx/packages/base/luci-app-openclash_*-beta_all.ipk
# Sync source code
cd package/luci-app-openclash/luci-app-openclash
git pull
# You can also directly copy `luci-app-openclash` folder to other `OpenWrt` project `Package` Compiled with the firmware in the directory
make menuconfig
# Select the package to compile LuCI -> Applications -> luci-app-openclash
- MIT License
- Kernel clash by Dreamacro
- This project code is based on Luci For Clash by frainzy1477
- GEOIP database GeoLite2 by MaxMind
- IP check MyIP by SukkaW
- control Panel clash-dashboard by Dreamacro
- control Panel yacd by haishanh
- lhie1 rules lhie1-Rules by lhie1
- ConnersHua Rules ConnersHua-Rules by ConnersHua
- game rules SSTap-Rule by FQrabbit
- Streaming Unlock Detection RegionRestrictionCheck by lmc999
- PayPal
- USDT-TRC20
- Bitcoin-BTC
- Ethereum-ETH
- Running status
- Global settings
- Server & Policy Group
- Rules & Policy Group
- Profile subscription
- Profile management
- Run log