Support Center

VPN Setup for DD-WRT Router : OpenVPN Manual Setup

Last Updated: Apr 17, 2017 12:48PM +03

Below you will find DD-WRT Router Manual Setup instructions for OpenVPN Procotol

---

1. Click the Administration tab, then click the Commands tab.

 

Next, copy/paste the following into the commands area. Be sure to enter your VPN Username and Password, then click Save Startup.
 

echo Username >> /tmp/password.txt
echo Password >> /tmp/password.txt
/usr/bin/killall openvpn
/usr/sbin/openvpn --config /tmp/openvpncl/openvpn.conf --comp-lzo yes --route-up /tmp/openvpncl/route-up.sh --down-pre
/tmp/openvpncl/route-down.sh --daemon

 

Make sure to replace "Username" and "Password" with your current VPN username and password. Below is what the screen should look like after:
 

DD-WRT OpenVPN Manuel Setup 01


2. Go to Services tab >> VPN Tab, check to enable the openvpn client


In the Additional Config enter the following:

auth-user-pass /tmp/password.txt persist-key
persist-tun
tls-client

remote-cert-tls server


3. Click SAVE

4. Next, reboot your router!


After your router reboots, you will be taken back to the DDWRT OpenVPN status screen. Wait a few moments while the software refreshes the connection a few times.

After a minute, you should see a connected status as seen below:


DD-WRT OpenVPN Manuel Setup 02

Contact Us

  • Email Us
http://assets1.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete