The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    How to integrate MVPS HOSTS file blocking into your Netgear Nighthawk Router

    Discussion in 'Networking and Wireless' started by Spartan@HIDevolution, Nov 12, 2018.

  1. Spartan@HIDevolution

    Spartan@HIDevolution Company Representative

    Reputations:
    39,599
    Messages:
    23,561
    Likes Received:
    36,861
    Trophy Points:
    931
    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:
    Code:
    telnet routerlogin.net
    The password is the same password you use to login to your router's Admin page

    4. Download the two installation packages:

    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
    5. Install both of them:

    Code:
    /bin/opkg install ca-certificates_20180409_all.ipk
    /bin/opkg install 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:
    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
    6. Enable dnscrypt-proxy-2 init script (to start it automatically after reboot):

    Code:
    /etc/init.d/dnscrypt-proxy-2 enable
    7. Reboot your router:

    Code:
    reboot
    Log file is /var/log/dnscrypt-proxy-2.log . Check it if something goes wrong.

    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

    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
    10. To Uninstall the MVPS Hosts file from your router:

    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
    References:

    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 :D
     
    Last edited: Nov 15, 2018
    Papusan and hacktrix2006 like this.