Page 1 of 1

OpenVPN Client on DD-WRT Router

Posted: Mon Jul 08, 2019 7:47 pm
by Hayz

I have setup a VPS at VPSServer dot com and I was able to successfully setup openVPN on the server. I tested out the functionality by installing Pritunel on my Windows laptop and importing the the OVPN config file. I clicked connect and it worked with no issue. The server has a Chicago IP address so when i connected, my location was changed to Chicago.

Now instead of using my laptop as the client I would like to use my router as the client. So far I have flashed my Netgear R7000 router with the DD-WRT firmware. I know where to configure the settings because I have done it with my IPVanish account a while ago. I am pretty sure I know how to configure most of the settings but when I get down to this section:

TLS Auth Key
Additional Config
Policy Based Routing
PKCS12 Key
Static Key
CA Cert
Public Client Cert
Priivate Client Cert

I am not sure what to fill into those fields. Most of those where blank when I configured IPVanish besides "Additional Config and CA Cert".
I assume I can open up my OVPN config file and get all the info I need, but I am not sure which parts go where.

Any help is helpful :)


Re: OpenVPN Client on DD-WRT Router

Posted: Mon Jul 08, 2019 8:38 pm
by TinCanTech
How did you setup openvpn on your VPS ?

Re: OpenVPN Client on DD-WRT Router

Posted: Mon Jul 08, 2019 9:41 pm
by Hayz
I followed the steps in this video

I connected to my VPS using putty and ran all of these commands (my VPS is running Ubuntu 18.04)
1. Update the software download lists:
apt-get update

2. Upgrade the software on your server:
apt-get upgrade

3. Download the OpenVPN auto-installer script:
wget ...

4. Make sure the script has the right permissions:
chmod 777

5. Run the OpenVPN installer script:

all of those steps ends up opening "OpenVPN Roadwarrior installer"

it ask for OpenVPN protocal I selected UDP
I kept the default listening port of 1194
it ask which DNS i would like to use, I choose "google"
I then get to name the OpenVPN Client certificate
and BAM it installs on the sever automatically.

I am able to use FileZilla to connect to the server and grab the OVPN config file and import it into Pritunl (OpenVPN Client) to connect.

Hope this helps

Re: OpenVPN Client on DD-WRT Router

Posted: Mon Jul 08, 2019 10:05 pm
by TinCanTech
You will want to read the OpenVPN Howto: ... pleclients

Then find the related files on your server.

You have one client config that you have used already, so look in to that for some clues..

You will almost certainly find some help here: