Setting up our connection on your DD-WRT router can seem daunting at first, but hopefully the video and step by step written instructions below will guide you smoothly through the process.

As usual, if you get stuck setting it up or just want to confirm the set up, we are always here to assist you.

Not yet registered? It’s quick and easy, sign up to our VPN Service now!

Video Tutorial

The video below will guide you on how to set up your DD-WRT router with our OpenVPN service.

Alternatively, you can follow the step by step written instructions below.


Check that your DD-WRT version supports OpenVPN

 

You can check this by clicking on the Services Tab and then VPN, it should show you options for OpenVPN setup.

If it does not, you do not have the VPN version loaded, please either load the VPN version or contact us for further guidance.

DDWRT VPN Services setting

Although you can setup OpenVPN using the web interface, this is not compatible with our service, so you need to actually upload the connection script.

Next, go to Administration > Command and enter this line below into the Command shell.

openvpn --version

check OpenVPN version on DD-WRT

Click on Run Command

The output will list the OpenVPN version that is currently installed on your router.

DD-WRT OpenVPN version check result

Take note of the version as the connection script to be downloaded later will differ based on the version that you have installed.


Check that the router is working normally

 

Before you configure the OpenVPN client on your DD-WRT router, make sure it is working correctly and can connect to the internet as normal.

You will presumably have the WAN or Internet port of the DD-WRT connected to the LAN or Local port of your primary router.

You might want to configure the wireless network of the DD-WRT to be something with VPN Country in the name i.e. MPN GBR, MPN USA so you can tell which is which, but all of that is up to you.


Download the OpenVPN Connection script

If you are on OpenVPN version 2.3.x and above, download the DD-WRT  script from the following link:

DDWRT MPN OpenVPN UDP1194

If you are on older version of OpenVPN build on your router i.e OpenVPN 2.1.x , 2.2x etc, download our older connection script that uses UDP port 80 below:

DDWRT MPN OpenVPN UDP80

 


Setup the DNS

 

Login to the router administration interface and go to Setup, Basic Setup, scroll down and under Network Setup;

 

Set the Local DNS to be 4.2.2.1

Go down to Network Address Server Settings (DHCP) and change;

Static DNS 1 to be 4.2.2.1

Static DNS 2 to be 8.8.8.8

Click Save.

 

These are public DNS servers located in the US, we suggest using them to avoid any clash with your local ISP settings.

DDWRT Basic DNS Settings
Don’t worry about any other information in this image, it may not be the same for your router or setup.

 


Enable Syslogd

 

Go to Services > Services, scroll down to System Log and enable Syslogd, this will provide us with some logging info if there are any problems.

Click Save.

DDWRT Syslog Service settings


Save the Firewall script

 

Go to the Administration tab, select Commands and enter the following into the the Commands shell area:

 

iptables -t nat -I POSTROUTING -o tun0 -j MASQUERADE

 

Once you’ve entered the command above, click on Save Firewall.

DDWRT VPN Firewall Script


Edit the DD-WRT OpenVPN Connection Script

 

Edit the DD-WRT connection script that you’ve just downloaded and change these details:

USERNAME to be your My Private Network Username

PASSWORD to be your My Private Network Password

COUNTRY to the country iso code that you are subscribed to i.e GBR if you are subscribed to our GBR(UK) plan.

For the full list of servers that you can connect to, please refer to the countries and server names in our Knowledge Base Article.

For example, if you wanted to connect to our GBR service, the line should be changed from;

remote COUNTRY.mypn.co

to be

remote GBR.mypn.co

 

DDWRT MPN OpenVPN Script details to be changed

 

Do not change any other lines in the script.

Copy the entire edited script and paste it into the Command Shell text area and click on Save Startup.


Reboot the Router

 

The router should apply the changes automatically but if it’s not, go to Administration > Management and click on Reboot Router.

Reboot DD-WRT router via the Management interface

Once the router is back online, it should be connected to our VPN servers and anything using it will be routed through our service.


Other Countries

 

If you want to connect to another country, you will have to change the remote line at the top of the script to ensure you are connecting to the correct server.

For the full list of countries and server names you can use, please refer to our Knowledge Base Article.


Problems?

 

Unfortunately, it does not always go to plan!

If you have any problems or can’t get connected, please email us atThis e-mail address is being protected from spambots. You need JavaScript enabled to view it. We’ll get back to you as soon as possible and try to help.