Skip to content

rtaserver/OpenClash-Mod

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Clash
OpenClash-Mod

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 -

User manual

Download address

rely

  • 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)

compile

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

license

Ask the author for a cup of coffee

  • PayPal

  • USDT-TRC20

  • Bitcoin-BTC

  • Ethereum-ETH

Preview

  • Running status

  • Global settings

  • Server & Policy Group

  • Rules & Policy Group

  • Profile subscription

  • Profile management

  • Run log

About

A Clash Client For OpenWrt

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 34.6%
  • Shell 28.9%
  • Lua 20.5%
  • HTML 13.6%
  • CSS 1.2%
  • C 0.7%
  • Other 0.5%