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

Published on November 21, 2018

If you are looking at this topic, installation of OpenWRT is assumed to done by now. Otherwise refer to this page on how-to:

  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 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 can not be blocked because youtube serves content and ads from same domain to fight adblockers. Article will be updated if an effective solution is found.

← All blog posts

All rights reserved