The latest versions of DD-WRT support OpenVPN configurations from the DD-WRT GUI. This guide requires a newer DD-WRT firmware. If you have an older DD-WRT firmware you will either need to upgrade it or follow this guide to connect with our copy and paste scripts




Text Version

Generating the Proper OpenVPN Configuration Files
1. Open the OpenVPN Configuration Generator Select your desired options Check Advanced and Check External CRT Bundle then Click Create OpenVPN Configuration Files. Get help with the Configuration Generator 
Open the .ovpn file you just downloaded and write down the server IP address you want to connect to.


Configuration of your DD-WRT Router
The server will reject certificates unless the routers clock is set correctly. So first we setup NTP

From Time Settings in the DD-WRT GUI
1. Click Setup > Basic Setup > Time Settings
2. Choose your timezone
3. Set DST if required
4. Enter the server name that represents the closest region to you
North America - 0.north-america.pool.ntp.org
United States - 0.us.pool.ntp.org
Canada - 0.ca.pool.ntp.org
Europe - 0.europe.pool.ntp.org
Germany - de.pool.ntp.org
Netherlands - nl.pool.ntp.org
United Kingdom - uk.pool.ntp.org
Switzerland - swisstime.ethz.ch
Asia - 
0.asia.pool.ntp.org

From VPN Tab in the DD-WRT GUI
Please note that there are different versions of the DD-WRT GUI. The options required for your router may differ slightly. 
1. Click Services > VPN > Enable the OpenVPN Client
2. Enter the server IP address and port
3. Set the device to TUN
4. Set TCP/UDP based on the OpenVPN config you generated earlier
5. Set Hash to SHA512 if this does not work use SHA1 (This depends on your DD-WRT build)
6. Set Comp LZO to adaptive or if not available then set it to enabled
7. Enable NAT and check NSCertType Verification
8. Set TLS Cipher to None (The server will push the proper TLS Cipher)
9. Paste the contents of the ca.crt file you generated into the CA CERT box in the DD-WRT GUI
10. If there is a ta.key in the bundle you downloaded then paste the contents of that file into the TLS Auth Key section of the DD-WRT GUI
11. Click Save and then Click Apply

From the Commands Tab in the DD-WRT GUI 
1. Select Administration > Commands and paste the following 4 rules into the box. Use a new line for each rule.
iptables -I FORWARD -i br0 -o tun0 -j ACCEPT
iptables -I FORWARD -i tun0 -o br0 -j ACCEPT
iptables -I INPUT -i tun0 -j REJECT
iptables -t nat -A POSTROUTING -o tun0 -j MASQUERADE
2. Click on Save Firewall
3. Go to http://cryptoip.info/ and click Show Map to verify that you are connected

If you are not connected under administration > VPN are your logs. Please contact us and attach your logs so we can take a look.

DDWRT VPN GUI


DDWRT OpenVPN GUI0.asia.pool.ntp.org

Also Read

Setup OpenVPN on Synology NAS DSM 5 or DSM 6
We will get a full KB guide up as soon as we can shoot a proper video until then download our...
Setup OpenVPN on PFSense
LiquidVPN on PFSENSE Setup Guide By using PFSENSE you get all of the advantages of having your...
PFSense OpenVPN User/Pass Text File
PFSense OpenVPN Username & Password Text File 1. System > Advanced 2. Open Putty and...
Setup OpenVPN on Tomato Router Firmware
Setup OpenVPN on your Tomato router1. Write down your VPN username and password2. Generate 1...
OpenVPN on OpenELEC Media Center
If you are using the OpenELEC Media Center and wish to connect to one of our OpenVPN servers we...