Ad blocking can be done in several ways:
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