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;
- You have already tested OpenVPN on your PC to ensure that your network configuration and ISP allows OpenVPN connections.
- 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.
- You have already hard reset or restore the factory defaults via administration menu.
- Your DD-WRT router is connected to your first router via wifi or ethernet.
- When you connect to DD-WRT router via wi-fi or ethernet from your PC, you can access internet.
- Your DD-WRT router local IP address is 192.168.1.1
- Your first router has different LAN subnet for ex. 192.168.0.1
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: http://192.168.1.1 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 18.104.22.168 and 22.214.171.124, 126.96.36.199 and 188.8.131.52 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: