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)

Instructions for Adblock quick setup.

# Install packages
opkg update
opkg install adblock
 
# Install dependencies for uclient-fetch
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
service adblock restart
docs/guide-user/services/ad-blocking.txt · Last modified: 2019/07/13 02:21 by vgaetera