The latest versions of DD-WRT support OpenVPN configurations from the DD-WRT GUI. This guide requires a newer DD-WRT firmware. Recently we released a more in-depth guide you can find it here

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 -
United States -
Canada -
Europe -
Germany -
Netherlands -
United Kingdom -
Switzerland -
Asia -

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 -A FORWARD -i br0 -o tun0 -j ACCEPT
iptables -A FORWARD -i tun0 -o br0 -j ACCEPT
iptables -A INPUT -i tun0 -j REJECT
iptables -t nat -A POSTROUTING -o tun0 -j MASQUERADE
2. Click on Save Firewall
3. Go to 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.



Also Read

PFSense OpenVPN User/Pass Text File
PFSense OpenVPN Username & Password Text File 1. System > Advanced 2. Open Putty and...
OpenVPN on OpenELEC Media Center
If you are using the OpenELEC Media Center and wish to connect to one of our OpenVPN servers we...
OpenVPN on DDWRT Using Copy/Paste Script
Install, Configure and Connect with OpenVPN Open your DD-WRT admin webpage.   Click on Setup...
Setup OpenVPN on PFSense
LiquidVPN on PFSENSE Setup Guide By using PFSENSE you get all of the advantages of having your...
Setup OpenVPN on Tomato Router Firmware
Setup OpenVPN on your Tomato router1. Write down your VPN username and password2. Generate 1...

Powered by WHMCompleteSolution