Table of Contents

Ad blocking

Network-wide ad blocking may be desired to reduce ads, reduce bandwidth usage, reduce tracking, provide content filtering, and increase privacy. This can be accomplished with OpenWrt by installing and configuring one of the options below.

Adblock

Adblock uses DNS based blocking for ad/abuse domains via dnsmasq, unbound, named, smartdns or kresd. It is lightweight, fast, supports a wide range of blocklist sources, offers local block/allow overrides and provides an intuitive LuCI Web UI for convenient management and monitoring. Most users can simply use this and have adequate results.


* Not support multiple dnsmasq instances.

Adblock-Fast

The high-performance ad-blocking service work with Dnsmasq, SmartDNS, and Unbound. It is designed to be lightweight in file size and RAM usage, and includes an easy to manage blocklist by LuCI Web UI.


* support multiple dnsmasq instances. (apply rule to all instances, no selection).

AdGuard Home

AdGuard Home is a comprehensive adblocking system with a larger installation and setup process. As is stated on their github: it operates as a DNS server that re-routes tracking domains to a “black hole”, thus preventing your devices from connecting to those servers. It's based on software they use for their public AdGuard DNS servers, and both share a lot of code.

Adblock-lean

Adblock-lean is a powerful and ultra-efficient adblocker for OpenWrt.