First, install the latest Voxel Firmware for your Nighthawk Router
Installation:
1. Enable telnet on your router:
http://routerlogin.net/debug.htm
2. Install the telnet program on your computer.
For Windows 10:
Hold down the Windows Key, then press the “R“ key.
The Run dialog box appears. In the Open: window, type:
pkgmgr /iu:”TelnetClient”
Click OK.
3. Login to the router using telnet, from an elevated command prompt:
The password is the same password you use to login to your router's Admin pageCode:telnet routerlogin.net
4. Download the two installation packages:
5. Install both of them:Code:wget --no-check-certificate https://www.voxel-firmware.com/Downloads/Voxel/R7800-Voxel-firmware/DNSCrypt-Proxy-2/ca-certificates_20180409_all.ipk wget --no-check-certificate https://www.voxel-firmware.com/Downloads/Voxel/R7800-Voxel-firmware/DNSCrypt-Proxy-2/dnscrypt-proxy-2_2.0.16-1_ipq806x.ipk
NOTE: For the Nighthawk X10 (R9000), do not run the second command (proxy-2) but instead, run the below command:Code:/bin/opkg install ca-certificates_20180409_all.ipk /bin/opkg install dnscrypt-proxy-2_2.0.16-1_ipq806x.ipk
6. Enable dnscrypt-proxy-2 init script (to start it automatically after reboot):Code:cd /tmp wget --no-check-certificate https://www.voxel-firmware.com/Downloads/Voxel/R9000-Voxel-firmware/DNSCrypt-Proxy-2/dnscrypt-proxy-2_2.0.16-1_r9000.ipk /bin/opkg install dnscrypt-proxy-2_2.0.16-1_r9000.ipk
7. Reboot your router:Code:/etc/init.d/dnscrypt-proxy-2 enable
Log file is /var/log/dnscrypt-proxy-2.log . Check it if something goes wrong.Code:reboot
8. Repeat steps 1-2 again to run telnet again from an elevated command prompt
9. To install the MVPS Hosts file, run the following scripts, copy/paste one line at a time and hit ENTER
10. To Uninstall the MVPS Hosts file from your router: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
References: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
DNSCrypt-Proxy version 2 and STUBBY add-ons for R7800/R9000
How to blacklist/block sites using MVPS Hosts file with DNSCrypt-Proxy v2
Enjoy adblocking network wide across all your devices, be it your laptop or phone or tablet![]()
-
Spartan@HIDevolution Company Representative
How to integrate MVPS HOSTS file blocking into your Netgear Nighthawk Router
Discussion in 'Networking and Wireless' started by Spartan@HIDevolution, Nov 12, 2018.