If you are looking at this topic, installation of OpenWRT is assumed to done by now. Otherwise refer to this page on how-to: https://openwrt.org
- Install adblock & luci-app-adblock packages via (cmd or gui).
- Configure adblock via Services -> Adblock in GUI.
If adblock is not working i.e ads are still showing (You can verify them on https://detectadblock.com) it means there is no SSL library is installed. Install the package ‘libustream-mbedtls’ package to make adblock on openwrt work properly.
Note: Ads on youtube aren’t blocked because youtube serves content and ads from same domain to fight adblockers. Article will be updated if an effective solution is found.