Reading Time: 4 minutes

PureVPN provides a wide range of servers with more than 80,000+ IP’s to choose from and covering over 140+ countries. If online security and privacy is your concern this is by far the best VPN service you should opt for. Whether you want to secure your location, while working from home, a public Wi-Fi, or if you want to access content that is not available in your region, PureVPN is the VPN to get you going.

PureVPN is highly compatible with different operating systems and devices, including routers. In this post, we will be taking a close look at PureVPN for routers, its setup process, and the perks offered by the VPN provider.

Why do you Need to PureVPN on Router

The sole reason to use PureVPN on the router is to secure all your device. The internet traffic from all the devices, whether it is smartphones, tablets, laptop, or any other platform, will go through a secured connection.

Similarly, there are some devices which do not offer native support of VPN services. You cannot set up a VPN directly onto such platforms and the only solution is to setup a VPN on router.

Gaming consoles (Xbox One or PS4) and streaming boxes (Roku, Apple TV, and Chromecast) have no native support for a VPN. Hence, to unblock geo-restricted apps and channels using a VPN, you will have to configure the service on your router.

How to Setup PureVPN on Router

Here, I will be telling how to setup PureVPN on router. For our demonstration, we will be using DD-WRT and Tomato routers. Likewise, we will be using OpenVPN protocol for the setup.

In addition, there are other routers supported by PureVPN as well. These include Asus, Linksys, TP-Link, Belkin, Pfsense and many more. You can find their individual setup guides on PureVPN’s knowledge base.

*NOTE: Download the OpenVPN configuration files provided by PureVPN on your system and extract the files to a folder.

Why use OpenVPN for configuration?

OpenVPN simply stands for ‘open source VPN’. If configured on a router, user can run a VPN on multiple devices without going over the hassle to install the service on each system. Prime reason to use OpenVPN is that it provides an added layer of security. It open source nature ensures that backdoors from government or agencies cannot be created.

Furthermore, OpenVPN is the strongest protocol available today and it can resist most brutal of attacks on your system. So, if you need a trustworthy VPN protocol that works with most of the operating systems and offers fast speeds, then OpenVPN is the choice to go for.

OpenVPN Configuration on DD-WRT Router

Configuring OpenVPN for maximum control on your DD-WRT Router is not a difficult task. With your PureVPN account, you would require two prerequisites to get you going:

  • A working internet connection
  • A DD-WRT Router

Once you have the requisites in place, perform the setup easily in simple steps:

  1. Enable your OpenVPN client in the VPN tab by launching DD-WRT control panel and selecting services
  2. Input the information as mentioned:
  • Enter your choice of server address in Server IP/Name box. To access the server address you can put the command Open *.ovpn file to get the server address. Or you can also choose from the list of servers available on PureVPN website
  • If you want to use UDP, insert number 53 in the ‘Port’ field. In case of TCP, insert number 80
  • Next, go to the Tunnel Device drop down menu and select ‘TUN’
  • Depending on the number you have input in ‘Port’ field select UDP for 53 and 80 for TCP in Tunnel Protocol
  • Select encryption level AES-256 CBC in the Encryption Cipher field.
  • Select option SHA1 for Hash Algorithm
  • Enable the Advance option
  1. After you have enabled the advance option, input some more Information
  • Select option ‘None’ for TLS Cipher
  • Select option ‘Adaptive’ in LZO Compression menu
  • NAT and Firewall protection requires to be disabled
  • Do not input any info in IP address and Subnet Mask field
  • Keep ‘Tunnel UDPMSS-Fix’ option disabled
  • You need to open the downloaded OpenVPN files, then open the ‘WDC.key’ files in a notepad and then copy all the content to input in the field TLS Auth Key
  • Insert auth-user-pass /tmp/user.txt in Additional Configuration field
  • Open file ‘CA.crt’ in a notepad from the OpenVPN downloaded files and copy all the content in CA Cert field
  • To apply the settings click ‘Save’
  1. Now go to security tab on the DD-WRT control panel > ‘Security’ tab > ‘Firewall’ tab > ‘Disable’ SPI Firewall and Save the settings
  2. Go back to the control panel again to get into the Administration tab and select the ‘Command’ tab to input the required script as follows:

 

#!/bin/sh
touch /tmp/user.txt
echo -e “purevpn username\npurevpn passwrord” > /tmp/user.txt

 

Or another way round is using a this script

 

echo username >> /tmp/user.txt
echo password >> /tmp/user.txt
/usr/bin/killall openvpn
/usr/sbin/openvpn –config /tmp/openvpncl/openvpn.conf –route-up /tmp/openvpncl/route-up.sh –down-pre /tmp/openvpncl/route-down.sh –daemon

Before you move further, you are required to make some alterations in the script.

  • Input the username and password provided by PureVPN in place of echo username and password in the text box
  • Click on Save Startup to apply the information

 

  1. The final step is to go to the ‘Management’ tab on the control panel and click on Save and Apply Settings

Now all you need to do is to reboot the router. Once it reboots, you can just go to the status bar in the control panel and select the OpenVPN tab to check your VPN connection status.

OpenVPN configuration on Tomato Router

Now, it’s time that we look at how to setup PureVPN with OpenVPN client on Tomato Router. Once you look at the steps, you will see that it involves lesser steps compared to DD-WRT router and is a swift process.

Again, following these 4 simple steps, you can easily configure PureVPN OpenVPN client on Tomato Router. All you need is a working internet connection and a Tomato router.

  1. Go to ‘Basic Tab’ from the Control Panel of the router, select ‘VPN Tunneling’ option, then click on OpenVPN Client and further select ‘Client 1’. Now enter the following details:
  • Choose the option ‘Start with Wan’
  • Select “TUN” from the dropdown menu under ‘Interface Type’
  • Select “UDP for Protocol
  • Open the downloaded .opvpn files on a notepad, copy the address of your choice of server and paste it in the ‘Server Address Details’ field
  • For UDP, insert number “53” in the port field
  • Keep the Firewall option to “Automatic”
  • For Authorization Mode select option “TLS”
  • Tick the box for “Username / Password Authentication”
  • Input your username and password provided by PureVPN
  • Remove check on ‘Username Authen. Only’
  • For “Extra HMAC authorization (tls-auth-)” field, select ‘Outgoing (1)’ from the dropdown menu
  • Tick box for “Create NAT on tunnel”

*If you want to use TCP, then you need to change the selection in Protocol and insert number 80 in the port field.

 

  1. Second step is to move to advanced settings and enter the following details:
  • For Poll Interval field insert value ‘0’
  • Remove check on ‘Redirect Internet Traffic’
  • For “Accept DNS Configuration” field select option ‘Relaxed’ in the drop down menu
  • For “Encryption Cipher” select option ‘AES-256-CBC’ in the drop down menu
  • From the drop down menu in the Compression field select ‘Adaptive’
  • For “TLS Renegotiation” field, enter value ‘-1’
  • For “Connection Retry” field, enter value ‘30’
  • Remove check from the field “Verify server certificate (tls-remote)”
  1. The third step is to go “Keys” tab and perform the necessary actions:
  • Open the WDC.Key file from the downloaded .ovpn files in a notepad and copy all the content in the ‘Static Key’ field
  • Open the CA.crt file in a notepad and copy it’s content to the “Certificate Authority” field
  • Open the open Client.crt in a notepad and copy the contents to “Client Certificate” field
  • Copy open Client.key in a notepad and past in the “Certificate Key”
  1. The fourth and final step is to save the settings you have performed from step 1to 2 and then click ‘Start Now’

With the blink of an eye your VPN will be connected to your router. The connection status can be verified by just clicking on the ‘status tab’. There you can check if your VPN is connected to your router or not.

Final Verdict

Configuring a VPN on a router might seem like a daunting task, but with our PureVPN router setup guide, you can enjoy secure VPN connection in no time. Our guide showed how to setup OpenVPN protocol on DD-WRT and Tomato routers. The process is as easy as to setup PureVPN on your system.

You can configure a VPN on other routers as well. PureVPN offers detailed guides and step by step tutorials for a bunch of routers. With PureVPN setup on your router, you can enjoy encrypted and secure connection on all your devices. It also saves time as you don’t have to configure a VPN on each of your devices individually.

So, was our guide helpful or do you need further assistance? Drop us a comment and let us know.