Skip to content

zuohuadong/OpenClash

This branch is 227 commits ahead of, 2571 commits behind vernesong/OpenClash:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

5c2ebd1 · Oct 16, 2019
Oct 13, 2019
Oct 16, 2019
Sep 16, 2019
Oct 14, 2019
Oct 14, 2019
Oct 14, 2019

Repository files navigation

Clash
OpenClash

本插件是一个可运行在 OpenWrt 上的 Clash 客户端

兼容 Shadowsocks、Vmess、Snell 等协议,根据灵活的规则配置实现策略代理

- 感谢 frainzy1477 ,本插件基于 Luci For Clash 进行二次开发 -

使用手册

下载地址

依赖

  • luci
  • luci-base
  • iptables
  • dnsmasq-full
  • coreutils
  • coreutils-nohup
  • bash
  • wget

编译

从 OpenWrt 的 SDK 编译

# 解压下载好的 SDK
tar xjf OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2.tar.bz2
cd OpenWrt-SDK-ar71xx-*

# Clone 项目
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 origin master
git branch --set-upstream-to=origin/master master

# 编译 po2lmo (如果有po2lmo可跳过)
pushd package/luci-app-openclash/luci-app-openclash/tools/po2lmo
make && sudo make install
popd

# 选择要编译的包 LuCI -> Applications -> luci-app-openclash
make menuconfig

# 开始编译
make package/luci-app-openclash/luci-app-openclash/compile V=99

# 您也可以直接拷贝 `luci-app-openclash` 文件夹至其他 `OpenWrt` 项目的 `Package` 目录下随固件编译

许可

请作者喝杯咖啡

  • 比特币-BTC

  • 以太币-ETH

预览

  • 运行状态

  • 全局设置

  • 服务器&策略组

  • 配置文件

  • 运行日志

About

A Clash Client For OpenWrt

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 63.6%
  • CSS 13.9%
  • Shell 12.9%
  • Lua 7.0%
  • C 1.9%
  • Makefile 0.7%