VPN Setup for DD-WRT Router : OpenVPN Manual Setup

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


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:

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

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.