User Tools

Site Tools


docs:guide-user:services:ad-blocking

Ad blocking

Ad blocking can be done in several ways:

  • Package banhostlist (has not been updated since 2015)

This forum post (from 2017) gives a short comparison between Adblock and Simple Adblock. Summarized, it says that Adblock is more powerful and might receive additional features in the future while Simple Adblock aims to be easier to use and more performant.

Instructions for Adblock quick setup via terminal. Most steps can also be done using the GUI with LuCI.

# Install packages
opkg update
opkg install adblock
 
# Install dependencies for uclient-fetch - this is crucial for downloading from SSL blocklist sources, which are used in the default configuration of Adblock
opkg install libustream-mbedtls
 
# Provide web interface
opkg install luci-app-adblock
 
# Enable Adblock
uci set adblock.global.adb_enabled="1"
 
# Backup the blocklists
uci set adblock.extra.adb_backup="1"
uci set adblock.extra.adb_backupdir="/etc/adblock"
 
# Use blocklists backup on startup
uci set adblock.extra.adb_backup_mode="1"
 
# Save and apply the changes
uci commit adblock
/etc/init.d/adblock restart
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
docs/guide-user/services/ad-blocking.txt · Last modified: 2019/09/29 10:25 by clel