Hi,
I hope somebody can help me out to clarify the working or difference on the Adblock and DNS filtering within Nethsecurity
In the threadshield menu I see the fllowing options to block ads
But in the documentation on DNS filter β NethSecurity documentation
I see adblock which has the be enabled manually at the prompt
But what is the difference between these to ?
Please in simple english
dnutan
(Marc)
June 15, 2024, 10:27am
2
I could be wrong, but the threat shield from your screenshot is used to block ads by IP blocklists through banip, while adblock blocks DNS queries from a blocklist of domains. An additional option is to use DNS servers from a third-party provider (the docs mention flashstart).
I think youβll get it more clearly and in detail from these docs:
1 Like
Thanks Marc
Iβve adblock enabled, but it is not using any active_sources.
/etc/init.d/adblock status
::: adblock runtime information
+ adblock_status : running
+ adblock_version : 4.1.5
+ blocked_domains : 0
+ active_sources : -
+ dns_backend : dnsmasq (-), /tmp/dnsmasq.d
+ run_utils : download: /usr/bin/curl, sort: /usr/libexec/sort-coreutils, awk: /usr/bin/gawk
+ run_ifaces : trigger: -, report: -
+ run_directories : base: /tmp, backup: /tmp/adblock-Backup, report: /tmp/adblock-Report, jail: /tmp
+ run_flags : backup: β, flush: β, force: β, search: β, report: β, mail: β, jail: β
+ last_run : -
+ system : VMware, Inc. VMware Virtual Platform, NethSecurity 8-23.05.3-ns.1.0.1 r23809-234f1a2efa
The adblock.sources.gz is in the directory and contains some sites
How can i enable those sources ?
dnutan
(Marc)
June 15, 2024, 11:18am
4
do you have luci-app-adblock
installed as well?
dnutan:
luci-app-adblock
I donβt think so. This is not mentioned in the Docu
How can i do this ?
β UPDATE
opkg install luci-app-adblock
Package luci-app-adblock (git-23.189.72983-3072876) installed in root is up to d ate.
Is this command removing the sources ?
uci del adblock.global.adb_sources
Ok.
I think iβve found something
Community Builds, Projects & Packages
Hi, I just installed the package https-doh-proxy and now my adblock lists are not loading any more. (Loading never stops, 0 Sources loaded, no error messages from syslog) Https-DoH-Proxy settings: config main 'config' option...
Iβve added :
list adb_sources 'adaway'
to the config and now it enabled
/etc/init.d/adblock status
::: adblock runtime information
+ adblock_status : enabled
+ adblock_version : 4.1.5
+ blocked_domains : 4289
+ active_sources : adaway
+ dns_backend : dnsmasq (-), /tmp/dnsmasq.d
+ run_utils : download: /usr/bin/curl, sort: /usr/libexec/sort-coreutils, awk: /usr/bin/gawk
+ run_ifaces : trigger: -, report: -
+ run_directories : base: /tmp, backup: /tmp/adblock-Backup, report: /tmp/adblock-Report, jail: /tmp
+ run_flags : backup: β, flush: β, force: β, search: β, report: β, mail: β, jail: β
+ last_run : restart, 0m 3s, 1008/689/752, 2024-06-15T14:02:16+02:00
+ system : VMware, Inc. VMware Virtual Platform, NethSecurity 8-23.05.3-ns.1.0.1 r23809-234f1a2efa
dnutan
(Marc)
June 15, 2024, 12:09pm
7
According to the documentation, with luci-app-adblock
installed most options shall be accessible from Luci web interface.
1 Like
Do you know how to enter the luci web interface ?
Or is there a section added in the Nethsecurity dashboard ?
---------- UPDATE ---------
found it
https://docs.nethsecurity.org/en/latest/remote_access.html
NethSecurity offers also LuCI, the original OpenWrt web interface, which provides a wide range of configuration options but is not officially supported. Luci is disabled by default. To enable it, execute: