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 .
- 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.
- Prepare OpenWrt source or SDK and compile successfully
git clone https://github.com/openwrt/openwrt
cd openwrt
./scripts/feeds update -a
./scripts/feeds install -a
make defconfig
make V=s
- Download OAF source code
git clone https://github.com/destan19/OpenAppFilter.git package/OpenAppFilter - Open the compile configuration
echo "CONFIG_PACKAGE_luci-app-oaf=y" >>.config
make defconfig
- Begin compile
- Compile OAF separately
make package/luci-app-oaf/compile V=s
- Compile the entire firmware
make V=s
If you can't compile it yourself, you can install it directly into the released OpenWrt version
- 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 - 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. - 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)
If there is no version you need, you need to compile and generate it yourself, and I will release more architecture ipks later.