本帖最后由 bobogdst 于 2019-9-18 10:45 编辑
将源码放进openwrt源码编译即可,就可以集成到固件里面!效果图如下
准备工作:先运行:
opkg install openssl-util ipset dnsmasq-full diffutils iptables-mod-nat-extra wget ca-bundle ca-certificates libustream-openssl
手动安装以上依赖包
- 如果没有 openssl ,就不能正常生成证书,导致https过滤失败!
- 如果没有 ipset, dnsmasq-full, diffutils,黑名单模式也会出现问题!(ipset 需要版本6),如果你的固件的busybox带有支持diff支持,那么diffutils包可以不安装
- 如果没有 iptables-mod-nat-extra ,会导致mac过滤失效!
- 如果没有 wget, ca-bundle, ca-certificates, libustream-openssl ,会导致规则文件更新失败,host规则条数变为0,如果你的固件的busybox带有支持https的wget,那么这几个包可以不安装
使用方法 #源码根目录,进入package文件夹 cd package #下载源码 git clone https://github.com/Ameykyl/luci-app-koolproxyR #回到源码根目录 cd .. make menuconfig #编译 make package/luci-app-koolproxyR/{clean,compile} V=s
源码下载:
https://github.com/tzxiaozhen88/koolproxyR
|