HideMyAss (HMA) OpenVPN DD-WRT Router Setup Guide

1. Getting started:

  • If you are following this guide it means you have no problems connecting to your FlashRouter network and accessing your FlashRouter settings. 
  • If you are having trouble accessing your router settings then you can always follow our guide on how to access your router settings or if needed how to reset your router to default DD-WRT firmware settings before proceeding with your HMA client connection setup. 
  • Log into the HMA website to make sure your account is active and your username and password are correct. If you are unable to login to their website then you have the incorrect information for the setup below.

2. Entering HMA settings:

Leave all settings not mentioned below as their default setting.

In your DD-WRT FlashRouter settings click on the Setup > IPv6 page



IPv6 Type

6in4 Static Tunnel

Click Apply Settings.


In your DD-WRT FlashRouter settings click on the Services > VPN page.

OpenVPN Server/Daemon



Start Type


OpenVPN Client

Start OpenVPN Client


If you wish to disable your VPN connection simply set this to Disable at any time and click Apply Settings.

Server IP/Name

You can find a full list of HMA servers at this link.

ny.us.hma.rocks is the HideMyAss server for New York

If you wish to change HMA connection location,you will only need to change this field.


443 for TCP or 53 for UDP

Tunnel Device


Tunnel Protocol


 Encryption cipher


Hash Algorithm


User Pass Authentication



Enter the username that you use to login to the HMA website.

Password Enter the password that you use to login to the HMA website.

Advanced Options


TLS Cipher


LZO Compression




nsCertType verification


Additional Config

 Copy & paste the following lines into the empty space:


Policy Based Routing

This field can be used for split VPN and Dual Gateway routing. Learn more here.

CA Cert

Copy and Paste all contents of the ca.crt found at this link, starting and ending with:

Public Client Cert

Copy and Paste all contents of the hmauser.crt found at this link, starting and ending with:

Private Client Key

Copy and Paste all contents of the hmauser.key found at this link, starting and ending with:

Click Apply Settings.

Note: There is a lot of copy and paste required for this section. Be sure to open the ca.crt, hmauser.crt, and hmauser.key files using Notepad++ on Windows or TextEdit on MAC OS.

3. Verifying a successful VPN connection:

How can I tell if my VPN connection is active?

  1. You should now see a CONNECTED SUCCESS message on your Status > OpenVPN page.
  2. Visit http://www.whatismyipaddress.com to verify your new IP address and virtual location. 
    Note: In some cases you may notice that the location is not showing the same location as the server you have input in your router settings; this is because geo tracking tools are often tricked by VPN connections. As long as you see an IP address that is not the same as your normal Internet IP address then you are indeed connected to HMA.

4. Backing up your settings:

  1. It is always a good idea to save a backup of your working VPN settings after completing this setup, so that in the result of a reset or a faulty setting change you can load your working settings in a few simple clicks.
  2. Go to the Administration > Backup page and click the Backup button. A file called nvrambak.bin will be saved to your computer. We recommend renaming this file "FlashRouter Backup" for easy searching should you ever need it.

5. Troubleshooting:

  1. If you have any issues with your connection, you can review our HMA Troubleshooting page.


Have more questions? Submit a request


  • 1
    Brian Tembo

    Thank you I spent days to get my OpenVPN to work. I am running on a Netgear AC1450 with Kong latest ddwrt build. The guides which stand out after a search are old and perhaps not up to speed. I note this one is a June 2017 writeup. Perhaps overwrite the old ones. I got my Netgear from you guys 2yrs ago still going strong thanks!

Please sign in to leave a comment.
Powered by Zendesk