OpenVPN Client on DD-WRT Router

This forum is for general conversation and user-user networking.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
Hayz
OpenVpn Newbie
Posts: 2
Joined: Mon Jul 08, 2019 7:31 pm

OpenVPN Client on DD-WRT Router

Post by Hayz » Mon Jul 08, 2019 7:47 pm

Hello,

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 :)

Thanks!!

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: OpenVPN Client on DD-WRT Router

Post by TinCanTech » Mon Jul 08, 2019 8:38 pm

How did you setup openvpn on your VPS ?

Hayz
OpenVpn Newbie
Posts: 2
Joined: Mon Jul 08, 2019 7:31 pm

Re: OpenVPN Client on DD-WRT Router

Post by Hayz » Mon Jul 08, 2019 9:41 pm

I followed the steps in this video
https://www.youtube.com/watch?v=QoQ-GS57sQE

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 https://raw.githubusercontent.com/Nyr/o ... install.sh

4. Make sure the script has the right permissions:
chmod 777 openvpn-install.sh

5. Run the OpenVPN installer script:
bash openvpn-install.sh

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

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: OpenVPN Client on DD-WRT Router

Post by TinCanTech » Mon Jul 08, 2019 10:05 pm

You will want to read the OpenVPN Howto:

https://community.openvpn.net/openvpn/w ... 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:
https://github.com/Nyr/openvpn-install/wiki

Post Reply