/openwrt-OpenAppFilter

基于OpenWrt的App过滤(上网管控)模块,支持抖音、斗鱼、王者荣耀、腾讯视频等上百款App过滤

Primary LanguageCGNU General Public License v2.0GPL-2.0

OAF(Open App Filter)

OAF is a parental control plug-in based on OpenWrt, which supports app filtering for games, videos, chats, downloads, such as Tiktok, Youtube, Telegram,etc.,and support self-defined app rules, you can lean more and download firmware by visiting www.openappfilter.com .

Preparation

  • Prepare a router that supports openwrt
    There are already many routers that support the openwrt system, you can choose a simple one for installation,See which devices support.
  • Install the openwrt system on your router
    The openwrt install tutorial can be found through the forum.

How to compile OAF

  1. Prepare OpenWrt source or SDK and compile successfully

general steps

   git clone https://github.com/openwrt/openwrt
   cd openwrt
   ./scripts/feeds update -a
   ./scripts/feeds install -a
   make defconfig
   make V=s
  1. Download OAF source code
    git clone https://github.com/destan19/OpenAppFilter.git package/OpenAppFilter
  2. Open the compile configuration
     echo "CONFIG_PACKAGE_luci-app-oaf=y" >>.config  
     make defconfig  
  1. Begin compile
  • Compile OAF separately
     make package/luci-app-oaf/compile V=s  
  • Compile the entire firmware
     make V=s  

How to install OAF

If you can't compile it yourself, you can install it directly into the released OpenWrt version

  1. Install an officially released version of openwrt
    Note that it must be the official release version,may cause failure if other versions are used, because OAF depend on the kernel version.
    It is best to download through the following official address
    https://downloads.openwrt.org/releases
  2. Download OAF zip file
    Find the corresponding OAF zip file on the release page and download it, note that the plug-in version and the system version must be consistent.
  3. Install OAF ipks
    Unzip thie OAF package and then install ipks in order
  • kmod-oaf
  • appfilter
  • luci-compat(if the luci version is 2.0, openwrt 19.07+)
  • luci-app-oaf
  • luci-i18n-oaf-zh-cn(Chinese Language Pack, optional)

Notice

If there is no version you need, you need to compile and generate it yourself, and I will release more architecture ipks later.