• PureVPN now offers the fastest feature, WireGuard, for free

PureVPN goes hypersonic with latest 20Gbps server upgrades.Learn More

How to Setup PureVPN on DDWRT Router

Oct 12, 2021
Mar 01, 2022
0 Comments
Download PDF

For maximum security, you can always configure VPN on your DD-WRT router. However, if you are not sure how to make this possible, here is what you need to do:

Things to Consider:

Before you begin, please make sure that:

  • You have a working internet connection
  • VPN Supported Device.
  • A Premium PureVPN account (If you haven’t bought yet click 👉here to buy)

Note: Dedicated IP addon can be only be connected with Ras protocol i.e PPTP/L2TP/SSTP/IKEV.

Find your VPN credentials for manual configuration.

To find your VPN credentials log into the PureVPN members area. Click 👉 here to visit member area.

  • Login to the member area using your PureVPN registered email address and password.

  • From manage account section, go to the subscriptions tab.

  • On Subscription tab scroll down to be able to view your VPN credentials

  • You will be able to see and copy your VPN credentials.
  • Note down your PureVPN username and click the Eye icon to make your password visible and use it in the manual configuration.

How to Install and Connect Applet on DD-WRT Router

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
  • A router must have 8 MB flash memory for OpenVPN to be installed.

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

  • Access your router panel by entering 192.168.1.1 into your browser’s search bar.
  • Go to Administration > Commands and then enter the following command.

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

  • The command will show that the applet has been installed successfully.
  • Go to Status > My Page >

Enter your PureVPN credentials and then click Save. Here is how you can 👉find your VPN credentials

  • Set Protocol and Server and then click Save. Click Connect to establish a connection.
  • Once connected, the Status will turn to Connected.

Congratulations! You have configured PureVPN on your router.

How to setup PPTP on DD-WRT Router
  • This image shows how your VPN setup will look like:

1a. Shows an Ethernet connection from router to computer.

1b. Shows wireless connection from router to computer.

  • Go to Basic Setup tab of the DD-WRT control panel.
  • Click Connection type drop down menu and select PPTP protocol.
  • Make sure Use DHCP is selected as Yes.
  • Insert the following info:
  1. Enter your Gateway (PPTP server) (Please refer to the server addresses shared in the note above). 
  2. Enter PureVPN credentials provided by PureVPN.
  3. Write “refuse-eap” in additional PPTP option box.
  • Now scroll down and make sure the DHCP server is enabled and now click Apply Settings and then hit Save.
  • On the top menu click Status and then click WAN tab.
  • Now click Connect button under WAN tab.
How to Setup OpenVPN Connection for DD-WRT
  • Log in to the router control panel by entering the router’s default IP address 192.168.1.1 to the address bar of your preferred browser. (If you change your router’s default IP address, enter that into your browser instead). Enter the admin name and password for your router, then click Sign In.
  • In order to configure👉 OpenVPN on DD-WRT, first download the required OpenVPN Files from 👉this link and extract them.
  • Navigate to the Services tab, then to the VPN tab and click on Enable option besides the Start OpenVPN client.
  • Now configure your OpenVPN client as shown below.
  1. OpenVPN Client: Enable
  2. CVE Mitigation: Disable
  3. Server IP/Name: Enter your desired location’s TCP/UDP server address here. Server list can be accessed from👉 here:
  4. Port: 80 (For TCP)/ 53 (For UDP)
  5. Tunnel Device: TUN
  6. Tunnel Protocol: TCP/UDP
  7. Encryption Cipher: AES-256-CBC
  8. Hash Algorithm: SHA-1
  9. Inbound Firewall on TUN: Uncheck
  10. User Pass Authentication: Checked
  11. Username and Password: Enter your PureVPN credentials. Here is how you can 👉find your VPN credentials
  12. Advanced Options: Enabled
  13. TLS Cipher: None
  14. Compression: Adaptive
  15. NAT: Enable
  16. Firewall Protection: Disable
  17. Tunnel UDP MSS-Fix: Disable
  18. Verify Server Cert.: Checked
  19. TLS Key Choice: TLS Auth
  20. TLS Key: Copy and paste all the content from the key file you have downloaded with the OpenVPN configuration files.
  21. Additional Config:
    1. persist-key
    2. persist-tun
  1. CA Cert: Copy and paste all the content from the crt file you have downloaded with the OpenVPN configuration files.
  2. Click Save and then Apply Settings button.
  • Now navigate to the Status tab then OpenVPN to check the connection Status.
How to setup OpenVPN via Script Method on DDWRT Router

Open VPN Configuration guide:

Please follow the step by step guide to configure OpenVPN on DD-WRT routers using a script.

  • Download the Script and required OpenVPN Files from the links below.

 Access your router control panel

  • Click Administration tab then click Commands tab.

Click on Administration tab then Click on Commands tab

  • Open PureVPN_DD_WRT_OVPN_Script.txt that you downloaded from above steps. Copy / paste the contents under command.

Replace username and password with PureVPN Credentials. Here is how you can find your VPN credentials

Under Remote servers, insert the desired server address. Download OpenVPN Files and get the server address from OpenVPN Files.

  • Click Save Startup.

Open PureVPN_DD_WRT_OVPN_Script.txt that you downloaded from above steps. Copy / paste the contents under command.  Replace "username" with PureVPN Username like "purevpn0s123456" Replace "password" with PureVPN "Password".  Under Remote servers, insert the desired server address. Download OpenVPN Files get the server address from OpenVPN Files.  Click on Save Startup

Click on Management tab, Save and Apply settings. The VPN connection will establish in a few seconds.   If VPN doesn't connect then reboot the router.

Congratulations!! Now you are connected.

To check your IP visit https://www.ip2location.com/

OR

Click on the Administration tab then click on the Commands tab, enter:

cat /tmp/purevpn.log

Initialization Sequence complete

If you get the above message then it means you are connected to PureVPN

Was this article helpful? Rate and share your comments below. Your input matters to us and everyone else in the Cyber Security Community.

How helpful did you find this answer?

Comments (0 )