Forget Cake, Get 77% OFF

For Lifetime On Our 2-Year Plan

Get PureVPN

How to Install and Connect Applet on DD-WRT Router?

Service Delivery
Jul 04, 2016
May 18, 2018
43 Comments
Download PDF

Here’s how to install PureVPN’s DD-WRT router applet on your router to get additional features for better functionality and encrypted privacy.

Things to Consider:

Before you begin, please make sure that:

  • You have a working internet connection
  • DD-WRT: v24 Build 13309 or newer. (Go to the Status tab. Look at the line Firmware version under the System section.)
  • Supported builds: OpenVPN, Big, Mega, Giga.
  • Router MUST have 8 MB FLASH MEMORY for OpenVPN to be installed.
  • A Premium PureVPN account (if you haven’t bought it yet, click here to buy)

Follow this easy step-by-step guide to install PureVPN’s DD-WRT router applet on your router.

1 Access your router panel by entering 192.168.1.1 into your browser’s search bar.

2 Go to Administration > Commands and then enter the following command.

eval `wget -q -O - 'https://routerapplet.purevpn.com/cgi-bin/applet-cgi.py'`

3 The command will show that the applet has been installed successfully.

4 Go to Status > My Page >

Enter your PureVPN Username and Password and then click Save.

5 Set Protocol and Server and then click Save. Click Connect to establish a connection.

6 Once connected, the Status will turn to Connected.

Congratulations! You have configured PureVPN on your router.

 

Wouter — A Router with Built-In Security & Accessibility. Get It Now!

Please use the comment box for your suggestions & feedback. For additional help, please submit support ticket with errors and screen shots (if possible) OR Contact our 24/7 live chat.

 

How helpful did you find this answer?

Comments (43 )

43 Comments

  1. Kenneth Lee says:

    please disregard my previous message. It is working now. Thanks.

  2. Kenneth Lee says:

    Hi, I successfully install the applet to my Linksys EA6500 router which is on v3.0-r31825 giga (04/06/17). I followed the instruction to save and connect to the server to the location that I tested but it doesn’t seem work even though the status is “connected”. The ip location from the PC that connect to the router is still showing my ISP’s location or ip. DId I miss any steps?

  3. Pete Banham says:

    Hi, I have managed to get the applet working however even though I have ticked the “Start Automatically” box it doesn’t connect to the VPN on restart and i need to manually connect. Does anyone know if another setting is needed elsewhere as well please? I have Cron enabled. Thanks

  4. soelling says:

    I have the same problem. Solution does not work though. Hopefully they fix it in a future release.

    Router model: Netgear Nighthawk R7000 AC1900
    Firmware version: DD-WRT v3.0-r27775M (09/07/15)
    Kernel version: Linux 3.10.87 #411 SMP Sun Aug 23 00:17:52 CEST 2015 armv7l

  5. PureVPN Team says:

    Hi,

    Thanks for reaching out. You are suggested to Reboot your router and try again.

    Note: The Applet is still in Beta version, you may not be able to use all features

    Thanks for understanding!

  6. PureVPN Team says:

    Thanks for reaching out. If you are using PureVPN app then you may select ‘Dedicated IP’ mode and enter this server address
    https://support.purevpn.com/how-to-configure-dedicated-ip

    Hope this helps, let us know if you still have any questions!

  7. christian rahl says:

    Is there anyway to use the following DNS address instead of selecting a us server? fastest-usserver.ptoserver.com

  8. OldM4n says:

    Hi,

    Device filter “Tunnel only selected device” does not work.
    After selection device and press button “save “devices auto unselected, no function.
    A solution?

    Router model: Linksys WRT 1200AC
    Firmware version: DD-WRT v3.0-r28788 std (01/13/16)
    Kernel version: Linux 3.18.25 # 59 SMP Mon Jan 11 11:48:34 CET 2016 armv7l

    • Manrique Murillo says:

      What I did was setup an exception for the device I wanted to be tunneled, something like:

      source ip: ip-of-the-device-I-want-tunneled, port: *, destination ip: *, port: *, proto: *, Via: VPN

      Hope that works for you

  9. PureVPN Team says:

    Hi,

    Thanks for reaching out. You do not need to change WAN settings, just follow the above steps and this should help you get connected.

    Feel free to contact us if you need further assistance!

  10. Nagendra Yadav says:

    What should be WAN setting in Setup Page for this to work? I assume Auto (DHCP).

  11. PureVPN Team says:

    Hi,

    We are sorry for the inconvenience. It seems that your Firmware does not support OpenVPN and we are sorry that we couldn’t be much help in this.

    Let us know if we can help you with anything else!

  12. jpuxx says:

    I tried the steps on a Linksys E1200v2 and got the following output:

    Machine name… mips
    System info… Broadcom BCMD144 chip rev 1
    CPU model… MIPS 74Kc V4.9
    Check Firmware…ddwrt
    Detect PureVPN Applet… not found
    Check PPTP support… found /usr/sbin/pptp
    Check available nvram space… 228766 bytes available
    Check OpenVPN version… 2.3 found
    Check CPU arch support…
    Your router is not supported. Aborted.

    Is there a list of routers that do support the applet ?

    I really like the extra functionality that the applet offers.

    Thank you.

    • PureVPN Team says:

      Hi,

      We are sorry for the inconvenience. Kindly consider these guidelines before setting up Applet:

      DD-WRT: v24 Build 13309 or newer.
      Supported builds: OpenVPN, Big, Mega, Giga.
      Router MUST have 8 MB FLASH MEMORY for OpenVPN to be installed.

      Hope this helps, feel free to reach out if you have any questions!

  13. ibsscott says:

    This will save you a lot of time and no ssh needed.

    1. Paste the following url in browser as mentioned in other comments. Replace userid and pw with your own. http://158.69.194.117/cgi-bin/applet-cgi.py?user=USERNAME&pass=PASSWORD
    2. In DD-WRT, go to Administration/Commands. Paste code that was shown in browser into the Commands window.
    3. Down at the bottom, press the “Save Custom Script” button.
    4. Back in the blank Command window, type “/tmp/custom.sh” (without the quotes). Press the “Run Commands” button.
    5. Go to Status tab and see the new My Page tab.

    You’re welcome.

    • mihai says:

      not working for me …
      here is what i get :

      Machine name… mips
      System info… Atheros AR9132 rev 2 (0xb9)
      CPU model… MIPS 24Kc V7.4
      Check Firmware…ddwrt
      Detect PureVPN Applet… not found
      Check PPTP support… found /usr/sbin/pptp
      Check available nvram space… 40065 bytes available
      Check OpenVPN version… openvpn not found (abort installation)

      DD-WRT v24-sp2 (03/25/13) – build 21061 on a TP-Link TL-WR941ND v2/v3

  14. ibsscott says:

    I think I can make this a lot easier. None of this ssh nonsense which wasted 2 hours of my life with permission denied problems. You guys really know how to overthink things.

    1. Paste into any browser: http://158.69.194.117/cgi-bin/applet-cgi.py?user=purevpnxxxx…. (as shown in previous comments replacing user name and pw)
    2. Copy code to clipboard.
    3. In DD-WRT admin, go to Administration/Commands and paste the code in the window.
    4. Press Save Custom Script button
    5. After the script has been saved, type in the window “/tmp/custom.sh” (without the quotes) and press Run Commands.
    6. Go to Services tab and see My Page tab magically appear.

  15. Jon says:

    Matthew, how did you get around the permissions issue? chmod +x install.sh does not work for me.

  16. PureVPN Team says:

    Hi ,

    We apologies for the inconvenience. You are suggested to give the file “install.sh” execute permission by running command:
    chmod +x install.sh

    Try this and let us know if it works out.

  17. PureVPN Team says:

    Hi again,

    We are sorry that its taking more time for us to get you connected than usual. We would advise you to configure PureVPN manually on your Router using this guide https://support.purevpn.com/how-to-setup-pptp-on-ddwrt-router

    Try this and let us know if this is working fine.

  18. Gerard says:

    Didn’t work for me – tried from Terminal, here’s the log:
    [email protected]:~# ./install.sh
    Machine name… mips
    System info… Atheros AR9344 ver 1 rev 1.2 (0x2122)
    CPU model… MIPS 74Kc V4.12
    Check Firmware…ddwrt
    Detect PureVPN Applet… in /tmp/purevpn
    Stopping VPN… done
    Removing applet installation… /tmp/purevpn removed
    Cleaning nvram… done
    Check PPTP support… found /usr/sbin/pptp
    Check available nvram space… 37921 bytes available
    Check OpenVPN version… 2.3 found
    Check CPU arch support… Supported
    Init nvram… done
    Installed in /tmp/purevpn
    Starting…
    Could not run applet: /tmp/purevpn/www/scripts/purevpn_startup.sh: line 112: /tm
    p/purevpn/www/cgi-bin/purevpn.cgi: Permission denied
    Started

  19. PureVPN Team says:

    Hi,

    We are sorry for the inconvenience. Kindly confirm if you are running this command through terminal? so we may assist you in better way.

  20. PureVPN Team says:

    Hi Felix,

    Can you please share the logs with us so we may analyze the problem.

    Looking forward to hear from you!

    • Alt Pobox says:

      Same issue.
      Firmware: DD-WRT v3.0-r30082 std (07/01/16)
      Router: TPLINK ARCHER-C7 v2

      Essentially, the problem is root cannot execute purevpn.cgi

      [email protected]:/jffs/purevpn/www/cgi-bin# ./purevpn.cgi -v
      -sh: ./purevpn.cgi: Permission denied

  21. PureVPN Team says:

    Hi Felix,

    We are sorry for the inconvenience. We recommend you to try above tutorial again, it should work now.

    If you still face this issue then kindly let us know, we will assist you accordingly!

    • Felix says:

      Got the same error ;-(
      Maybe its the firmware?
      Firmware: DD-WRT v3.0-r29193 std (03/02/16)
      on Buffalo WZR-HP-G300NH

  22. Felix says:

    The Applet is not starting, only a blank “My Page”-Page 🙁
    This is the output of the script, the second run, the first give me the same error at the end:

    Machine name… mips
    System info… Atheros AR9132 rev 2 (0xb9)
    CPU model… MIPS 24Kc V7.4
    Check Firmware…ddwrt
    Detect PureVPN Applet… in /tmp/purevpn
    Stopping VPN… done
    Removing applet installation… /tmp/purevpn removed
    Cleaning nvram… done
    Check PPTP support… found /usr/sbin/pptp
    Check available nvram space… 107458 bytes available
    Check OpenVPN version… 2.3 found
    Check CPU arch support… Supported
    Init nvram… done
    Installed in /tmp/purevpn
    Starting…
    chmod: /tmp/www/mypage1.sh /tmp/www/mypage2.sh /tmp/www/mypage3.sh: No such file or directory
    Could not run applet: /tmp/purevpn/www/scripts/purevpn_startup.sh: line 112: /tmp/purevpn/www/cgi-bin/purevpn.cgi: Permission denied

  23. Carlos Ramos says:

    dont work i input and nothing happens eval `wget -q -O – ‘http://158.69.194.117/cgi-bin/applet-cgi.py?user=purevpnxxxxxxxxx&pass=xxxxxxxxx‘`

    • PureVPN Team says:

      We are sorry for the inconvenience, Carlos!

      Can you kindly erase NVRAM and try again, this should work!

      If you do not know how to erase NVRAM then please have a look at this tutorial https://www.dd-wrt.com/wiki/index.php/Hard_reset_or_30/30/30

      Looking forward to your feedback!

    • luki938 says:

      hi there – had the same issue but resolved it by “sshing” into the router and creating a shell script and running it manually.

      What you wanna do is insert
      http://158.69.194.117/cgi-bin/applet-cgi.py?user=purevpnxxxx
      (with your purevpn credentials obviously) into your browser of choice … some bash script will pop up – just copy the whole code snippet

      it is now time to paste it into a executable bash script … do so by connecting to your router via the terminal command “ssh [email protected].1.1″ (i’m assuming you are running linux/osx – if you use windows, just use putty) – insert your router password and you should be connected …

      then run the following command:
      “vi install.sh”

      paste the bash script from your browser into the editor
      press “:” and type “wq” – you should be done

      make the script executable by running “chmod +x install.sh”

      run the script with the ./install.sh command and let it finish …

      remove it after the install by running the following command: “rm install.sh”

      you should now have the applet installed on your router

      (note: this only works with SSH management enabled in DD-WRT)

      • Matthew Day says:

        tried this… putty says I don’t have permission to run the script. I am logged in as root. Even tried clearing the NVRAM and flashing the newest firmware with defaults. Please help. running Firmware: DD-WRT v3.0-r30471 std (08/24/16)

        • PureVPN Team says:

          Hi Mathew,

          We apologies for the inconvenience. You are suggested to give the file “install.sh” execute permission by running command
          chmod +x install.sh

          Try this and let us know if it works out. Looking forward to hear from you.

          • Matthew Day says:

            I got the script to run per your instructions, but no matter what server or protocol I choose to connect to in the applet, none of my devices connected to the router have a connection to the internet. what next? I know my ISP is not blocking anything because the windows app works fine. but I would like to use this on my router as this is why I purchased the premium service. thanks in advance.

  24. PureVPN Team says:

    We are sorry for the inconvenience. We have recently made few changes, you are requested to try above tutorial again, it should work now. If you still face any issues then kindly share logs with us so we may assist you in better way.

    Looking forward to hear from you!

  25. TDB Wizard says:

    Any idea why this will not work on a R7000? I enter the command, click run command the page refreshes but nothing happens, nothing is displayed under the command box nothing happens at all.

  26. PureVPN Team says:

    Hi Lior,

    Thanks for notifying us, we have updated step 2 and yes we will surely reward you for your efforts, please give us your PureVPN username.

  27. PureVPN Team says:

    We are sorry for the inconvenience. There was a typo in step 2, now we have fixed it, please follow step 2 again and then you should not face any issue.

    Let us know if you have further question/confusion!

  28. Lior says:

    158.69.194.117/cgi-bin/appletcgi.py?user=purevpnXXXX&pass=YYYYYYY should return a script (to STDIO) for the router to execute (eval), but currently this service seems to be down, and I can’t get your script. Ticket filed… until this is fixed, this feature is useless.

  29. Fabian says:

    Just gave it a try and nothing happens once the command is run with the proper USERNAME & PASSWORD. Using Firmware: DD-WRT v3.0-r30000M kongac (06/23/16)

    • PureVPN Team says:

      Hi,

      Thanks for contacting us, please share the complete logs with us so we can check them and update you accordingly.

      Feel free to reach out if you have any questions.

      Regards,
      Jade,
      PureVPN Support Team.

      ***** We apologize for the delay, might cause in replying your email. We are experiencing an excessive load, unexpectedly, due to customer interest in the services. Our 24/7 live chat is available to assist you on immediate basis.*****

      • Lior says:

        I figured it out… it’s a typo in step 2… should be [applet-cgi.py] not [appletcgy.py]… the dash is missing in the instructions above. After I downloaded the file, everything worked. I think that’s 2 free months 🙂 you’re welcome

      • Fabian says:

        This is the message I get when running the command from telnet, it looks like there is not such file.
        wget: server returned error: HTTP/1.1 404 Not Found