VPN Setup for DD-WRT Router : OpenVPN Protocol

Below, you will find Open VPN setup instructions for DD-WRT Routers for Smart DNS Proxy VPN & SmartVPN networks.

We presume the following configurations before starting to setup;

  1. You have already tested OpenVPN on your PC to ensure that your network configuration and ISP allows OpenVPN connections.
  2. You have already flashed your router with the newest DD-WRT firmware v24-sp2. DD-WRT v24-sp2 (12/22/14) build have been used while preparing this tutorial. Previous or other builds may have bugs preventing OpenVPN connections.
  3. You have already hard reset or restore the factory defaults via administration menu.
  4. Your DD-WRT router is connected to your first router via wifi or ethernet.
  5. When you connect to DD-WRT router via wi-fi or ethernet  from your PC, you can access internet.
  6. Your DD-WRT router local IP address is
  7. Your first router has different LAN subnet for ex.

Start setup process with the followings;

1. Connect to the DD-WRT router using either an Ethernet cable, or by joining the wireless network ‘dd-wrt’. Open a web browser, and load the following address: Note, set your network connection to obtain IP address automatically if you connect to your router via Ethernet.

Check your DD-WRT firmware. Software version that has been tested to work on VPN servers is DD-WRT newer build. Builds or versions other than v24-sp2 (12/22/14) may have bugs preventing OpenVPN connections.

2. Go to Setup then select "Basic Setup”.

3. Uncheck all three checkboxes for "Use DNSMasq for DHCP”, "Use DNSMasq for DNS” and "DHCP-Authoritative” and enter and, and into "Static DNS 1” , "Static DNS 2” , "Static DNS 3”, "Static DNS 4” textbox as seen on the screenshot. Check checkbox "DHCP server”.

4. Apply Settings.

5. Click on "Security” then "Firewall” and set "SPI Firewall” to "Disable” and click "Apply settings” button to save.

6. Go to „Services” and select „VPN”.

7. Set "Start OpenVPN Client” to "Enable”.
    •    Enter VPN Server Address to Server IP/Name.
    •    Enter Port number. For TCP/UDP protocol you may enter one of the following port number 53, 80, 443 or 1194.
    •    Set the Tunnel Device to  TUN.
    •    Set the Tunnel Protocol to  TCP or UDP. (We suggest you to use UDP for better speed)
    •    Set the Encryption Cipher to  Blowfish CBC.
    •    Set the Hash Algorithm to  SHA1.
    •    Set the nsCertType to checked.
    •    Set the Advanced Options to Enable.
    •    Set the TLS Cipher to  None.
    •    Set the LZO Compression to  Adaptive.
    •    Set the Nat to  Enable.

  •   Download the CA File Here and open it on Wordpad for Windows or TextEdit for Mac, then COPY and PASTE

8. Go to „Administration” and reboot router.

After reboot it should connect to the VPN automatically. Please wait up to 1 minutes for OpenVPN connection to be established. You can check the connection status by going to "Status” and "OpenVPN” tab. You should see "Client: CONNECTED:  SUCCESS”.


In order to get it to work on new OpenVPN client on your DD-WRT router, you need to make the following adjustments:

1. Use only ports 54, 81, 444 or 1195
2. Change Encryption Cipher to AES-256 CBC
3. Change Hash Algorithm to S HA 256
4. In TLS Key field paste:
-----BEGIN OpenVPN Static key V1-----
-----END OpenVPN Static key V1-----
5. In Additional Config field type:
key-direction 1
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.