Software
Hardware
Установка
# Install packages opkg update opkg install adblock 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.global.adb_backupdir="/etc/adblock" # Save and apply uci commit adblock /etc/init.d/adblock restart
Добавление источника для youtube: Services→Adblock→Advanced→Edit Configuration
config source 'youtube' option adb_src 'https://api.hackertarget.com/hostsearch/?q=googlevideo.com' option adb_src_rset 'BEGIN{FS=\",\"}/^(r[0-9]+\.){1,1}([[:alnum:]_-]+\.)+[[:alpha:]]+/{sub(/\./,\"---\");print tolower(\$1)}' option adb_src_desc 'focus on youtube ad-related subdomains, dynamic request API, approx. 180 entries' option enabled '1'