How to block ads on all devices via OpenWRT router using adblock package

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

  1. Install adblock & luci-app-adblock packages via (cmd or gui).
  2. 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.

Leave a Reply