Quickstart Guides

Browse Our Help Center

To use our apps and setups, make sure you have an active SaferVPN account

Manual OpenVPN (OLDER BUILDS) Setup for DD-WRT Routers

Updated on: 2018-04-17 08:31:06 UTC

 

Access the Router Administration Console

  1. Open your Web browser.
  2. Go to the router's local IP address within your browser (By default, this is 192.168.1.1, a comprehensive list exists here).

Select a SaferVPN Server

  1. Select a SaferVPN Server of your choice from here

Modify the DD-WRT basic DNS settings

    dd1.jpg

  1. From the DD-WRT Control Panel page, navigate to Setup > Basic Setup
  2. Under Network Address Server Settings (DHCP), set: 
    Static DNS 1 = 4.2.2.1 
    Static DNS 2 = 4.2.2.2 
    Static DNS 3 = 4.2.2.3 
    Use DNSMasq for DHCP = Checked 
    Use DNSMasq for DNS = Checked 
    DHCP-Authoritative = Checked
  3. Save and Apply Settings.

Disable IPv6

     dd2.jpg

  1. Now Navigate to Administration > Management
  2. Under IPv6 Support, set IPv6 = Disable
  3. Save and Apply Settings.

Enable Local DNS

     dd3.jpg

  1. Now Navigate to Services > Services.
  2. We'll remove the ISP's DNS suffix from LAN clients. Under DHCP Server, set Used Domain = LAN & WLAN.
  3. Under DNSMasq, make sure DNSMasq, Local DNS, & No DNS Rebind are all set to Enable
  4. Save and Apply Settings.

Configure the OpenVPN Settings 

     dd4.jpg

  1. Navigate to Services > VPN.
  2. Under OpenVPN Client, set Start OpenVPN Client = Enable. Other options will appear.
  3. Set Advanced Options to Enable. More options will appear.
  4. Set the following:

    Server IP/Name = The full hostname of the SaferVPN Server you noted in Step 1: Select a VPN Server 
    Port = 1194 
    Tunnel Device = TUN 
    Tunnel Protocol = UDP 
    Encryption Cipher = AES-256-CBC
    Hash Algorithm = SHA1 
    TLS Cipher = None 
    LZO Compression = Yes 
    NAT = Enable

  5. Enter this for Additional Configuration:

    auth-user-pass /tmp/password.txt
    persist-key
    persist-tun
    tls-client
    remote-cert-tls server

  6. Download the crt file from here 

    dd5.jpg

  7. In the the DD-WRT VPN page, paste the entire CA certificate text into the CA Cert field
  8. Save and Apply Settings.
  9. Navigate to Administration > Commands

    dd6.jpg

  10. Paste the following commands into the Command Shell:

    echo username > /tmp/password.txt
    echo password >> /tmp/password.txt
    /usr/bin/killall openvpn
    /usr/sbin/openvpn --config /tmp/openvpncl/openvpn.conf --route-up /tmp/openvpncl/route-up.sh --down-pre /tmp/openvpncl/route-down.sh --daemon

    Note: Replace *username* and *password* with your actual SaferVPN username and password.
    For example, if your SaferVPN username was s1234567 and password was 12345678, the first couple of lines would look like this:


    echo s1234567 > /tmp/password.txt
    echo 12345678 >> /tmp/password.txt

    dd7.jpg
    dd8.jpg
  11. Select Save Startup
  12. The commands you entered should now show in the Startup box
  13. Navigate to Administration > Management.
  14. Select Reboot Router. Wait for the router to reboot, then reconnect to it.

Verify the VPN is Working

  1.  Navigate to Status > OpenVPN.
  2. In the State text, you should see the message "Client: CONNECTED: SUCCESS". If not, check your configuration for types
  3. Verify your VPN connection by going to http://www.whatismyipaddress.com and checking the country your traffic goes through

 

Need help installing our VPN on another device? Check out our: VPN for WindowsVPN for MACVPN for iOSVPN for AndroidVPN Router, and our VPN Chrome Extension

Get SaferVPN Now
Have more questions? Submit a request
Go to top«