kamoj
Very Senior Member
MVPS Hosts file is a well known way to block ads, banners, and "bad" sites.
http://winhelp2002.mvps.org/hosts.htm
Voxel has add-ons for DNSCrypt-Proxy v2 for his Firmware for the R7800 and R9000 routers.
https://www.snbforums.com/threads/dnscrypt-proxy-version-2-and-stubby-add-ons-for-r7800-r9000.48445/
It's easy to combine these:
To "uninstall", e.g.:
http://winhelp2002.mvps.org/hosts.htm
Voxel has add-ons for DNSCrypt-Proxy v2 for his Firmware for the R7800 and R9000 routers.
https://www.snbforums.com/threads/dnscrypt-proxy-version-2-and-stubby-add-ons-for-r7800-r9000.48445/
It's easy to combine these:
Code:
wget -O /tmp/mvps.zip http://winhelp2002.mvps.org/hosts.zip
unzip -o /tmp/mvps.zip HOSTS -d /tmp/
awk '/^0.0.0.0/ {print $2}' "/tmp/HOSTS" >/etc/blacklist.txt
sed -i "s/# blacklist_file = 'blacklist.txt'/blacklist_file = 'blacklist.txt'/g" /etc/dnscrypt-proxy-2.toml
/etc/init.d/dnscrypt-proxy-2 stop
/etc/init.d/dnscrypt-proxy-2 start
To "uninstall", e.g.:
Code:
\mv /etc/blacklist.txt /etc/blacklist.txt.bup
touch /etc/blacklist.txt
/etc/init.d/dnscrypt-proxy-2 stop
/etc/init.d/dnscrypt-proxy-2 start
Last edited: