应用过滤是一款基于OpenWrt的家长管理插件,支持游戏、视频、聊天、下载等app过滤,比如抖音、斗鱼、王者荣耀等
- 准备OpenWrt源码,并编译成功
推荐源码仓库:
https://github.com/coolsnowwolf/lede.git
如果用官方源码,luci不要使用2.0版本,目前还没有适配新架构的luci - clone应用过滤源码到OpenWrt源码package目录
git clone https://github.com/destan19/OpenAppFilter.git package/OpenAppFilter - make menuconfig 开启应用过滤插件宏
在OpenWrt源码目录执行make menuconfig, 勾选luci-app-oaf、appfilter、kmod-oaf三个插件并保存,其中appfilter和kmod-oaf位于Derry Apps目录,为了后续支持插件安装,luci不再强制依赖kmod-oaf模块。 - 编译生成固件
make V=s
使用前需要关闭软硬加速、广告过滤、QOS、多WAN等涉及到nf_conn mark的模块,高通的AX系列产品需要将ecm允许慢速转发的包个数调整到最大值,直接stop ecm会导致吞吐非常低。
最新版本已经支持旁路由模式
https://destan19.github.io/feature/
App filtering is a parent management plug-in based on OpenWrt, which supports app filtering for games, videos, chats, downloads, etc.
- Prepare OpenWrt source code and compile successfully
Recommended source code repository:
https://github.com/coolsnowwolf/lede.git
If you use the official source code, please switch luci to 1.0, the current code does not support luci2.0 - Clone the application filtering source code to the OpenWrt source code package directory
git clone https://github.com/destan19/OpenAppFilter.git package/OpenAppFilter - make menuconfig to open the application filter plug-in macro
Execute make menuconfig in the OpenWrt source code directory, select luci-app-oaf,appfilter and kmod-oaf - Compile and generate firmware
make V=s
- Make the application filtering device the main route
- Turn off software and hardware acceleration, advertising filtering, QOS, multi-WAN and other modules related to nf_conn mark
- Turn on application filtering and select the app that needs to be filtered to take effect