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, give our 3-Day Free Trial a try now!
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.
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.
Click on Run Command
The output will list the OpenVPN version that is currently installed on your router.
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.4 and above, download the DD-WRT script from the following link:
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:
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 126.96.36.199
Go down to Network Address Server Settings (DHCP) and change;
Static DNS 1 to be 188.8.131.52
Static DNS 2 to be 184.108.40.206
These are public DNS servers located in the US, we suggest using them to avoid any clash with your local ISP settings.
Don’t worry about any other information in this image, it may not be the same for your router or setup.
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.
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.
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;
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.
Once the router is back online, it should be connected to our VPN servers and anything using it will be routed through our service.
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.
Unfortunately, it does not always go to plan!