HideMyAss (HMA) OpenVPN Tomato 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 Tomato 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 HideMyAss settings:

In your Tomato FlashRouter settings click on the VPN Tunneling > OpenVPN Client section. 

OpenVPN Client > Client 1 > Basic

Start with WAN

Check this box if you want your VPN connection to startup automatically anytime the router connects to the Internet.

Interface Type

TUN

Protocol

TCP or UDP

Server Address/Port

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

ny.us.hma.rocks is the HideMyAss server for New York
443 is your HMA port for TCP

53 is your HMA port for UDP

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

Firewall

Automatic

Authorization Mode

TLS

Username/Password Authentication

Check Username/Password Authentication and enter the username and password that you use to login to the HMA website.

Extra HMAC authorization (tls-auth)

Disable

Create NAT on tunnel

Check this box.

Click Save.


OpenVPN Client > Client 1 > Advanced

Poll Interval

0

Redirect Internet Traffic

Do not check this box.

Ignore Redirect Gateway (route-nopull)

Do not check this box unless you are using the advanced VPN Routing Policy feature.

Accept DNS configuration

Strict

Encryption cipher

AES-256-CBC

Compression

Adaptive

TLS Renegotiation Time

-1

Connection Retry

30

Verify server certificate (tls-remote)

Do not check this box.

Custom Configuration

Copy & paste the following lines into the empty space:

persist-key
persist-tun

 

Click Save. 


OpenVPN Client > Client 1 > Keys

Note: There is copy and paste required for this section. Be sure to open the files in the links below using Notepad++ on Windows or TextEdit on MAC OS.

Certificate Authority

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

Client Certificate

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

Client Key

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

Click Save.

Hint: The HMA Certificates and Keys is the same for all HMA server locations. If you ever wish to change your VPN server location you DO NOT need to update this section.


 Click the Start Now button to start up the HMA connection. 


3. Verifying a successful VPN connection:

How can I tell if my VPN connection is active?

  1. Instead of seeing the Start Now button, you should now see the Stop Now button in your OpenVPN Client area. Click Stop Now to terminate the active VPN connection at any time. 
  2. Visit geoip.hidemyass.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.
  3. Navigate to the Advanced > Routing section in your Tomato firmware settings. If you are connected to a VPN then you will notice a tun11 listed in your Routing Table interfaces (tun12 if you are using OpenVPN Client 2). 

4. Additional Router VPN Features

How can I setup 2 HMA client connections on my Tomato FlashRouter?

  1. In the VPN Tunneling > OpenVPN Client section you will see a Client 1 and Client 2 section. It is not possible to run both client VPN connections at the same time, but you can setup both clients and then Start/Stop Now whichever client you like, depending on which VPN server location you want to use. 
  2. Copy all settings used for HMA setup as indicated in Client 1 setup above, except this time enter a different server address in the Client 2 > Basic section and different Static Key and Certificate Authority in the Client 2 > Keys section. 
  3. Make sure you do not check the Start with WAN checkbox on both VPN Clients. If you try to connect to both Client 1 and Client 2 at the same time you will likely lose Internet connectivity entirely. 

5. 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 faulty settings change you can load your working settings in a few simple clicks.
  2. Go to the Administration > Configuration page and name the file "FlashRouter Backup" for easy searching should you ever need it. Click the Backup button. The file will be saved to your computer.
  3. To load your backup go to the Administration > Configuration, and under the Restore Configuration section, click Choose File, select your backup file, then click Restore and give the router a minute or two to load your settings. 

6. Troubleshooting:

  1. If you have any issues with your connection, you can review our HMA Troubleshooting page.
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk