HideMyAss VPN

Sunday, April 28, 2013

HMA Pro VPN - OpenVPN setup for DD-WRT

First of all you need a router with the latest DD-WRT firmware installed. If you don't know if your router supports the DD-WRT firmware, check their router database. The firmware used in this tutorial is "v24-sp2 (08-07/10) mega". For instructions on how to flash your router with DD-WRT firmware, check out the links @ Router configuration











 

HMA! OpenVPN autoinstaller for DD-WRT and OpenWRT


We proudly present the HMA! Pro VPN autoinstaller for OpenVPN on DD-WRT and OpenWRT routers.
To use it, please navigate to the VPN control panel @ http://hidemyass.com/vpn - here, click on "DD-WRT routers" on the left menu.
You'll now see the automated installer, like displayed on the right screenshot ->
Note: OpenVPN and the autoinstaller are only working on BIG or MEGA versions
of the DD-WRT firmware, and on some STD versions.

MINI or MICRO versions do not work with OpenVPN or the autoinstaller!
You can check here for alternative firmware versions: http://dd-wrt.com/site/support/router-database

Now, please
  • enter your password
  • select a protocol (TCP or UDP)
  • select a server location
  • click "Generate my router installation code"

You'll be redirected to a page that shows you how to activate the installation code in your routers webconfiguration.



Manual setup tutorial:


Attention: This tutorial has been updated on 13th Feb 2012. The old version can be found here...
Requirements for this tutorial to work...

0- The router MUST be OpenVPN capable (i.e. Mega, Std (vpn), Big, etc.... version of DD-WRT).
1- The router must be freshly hard reset 30/30/30
2- The router's WAN port is plugged to a Modem (Cable or DSL)
3- The router connects to the internet flawlessly.
4- Any firewall (on the modem, not the router) has been turned off or it's been set up so that the script can do its magic.
5- Maybe you should ask your ISP to open some ports on the modem (Ports 53 and 443 basically)
6- Should you decide to follow this tutorial, my advice is to try TCP first.

I have simplified the tutorial to four steps. It's no longer necessary to download-copy-paste the firewall rules. They are now embedded in the START-UP SCRIPTS. As a consequence the video tutorial has changed too, however for those who want/like the 6ES video they can still watch it. The 6ES scripts will remain too.
START-UP SCRIPTS ->

TCP:Attached File  Startup_Script_TCP_Extended-V2.3.txt   5.46K                UDP:Attached File  Startup_Script_UDP_Extended-V2.3.txt   5.33K  

Attention: The startup scripts contain several server IPs (in the format of "remote 208.76.52.170 443" or "remote 208.76.52.170 53").
When several servers are listed there, the router will connect to a random server. You must edit these lines so they meet your requirements,
by only listing your favorite servers there. You can get the IPs from the PPTP server list in the VPN control panel (same as OpenVPN),
or from the bottom of the *.ovpn config files from http://hidemyass.com/vpn-config/


Now the four (4) easy steps to get your DD-WRT router running OpenVPN client.

1- Set Date / Time to your local zone (Setup - Basic Setup - Time Settings)


2- Download Start-Up script (TCP and / or UDP) from links above

3- Copy-paste file contents to (Administration - Commands - Command Shell) Save Startup
3a- Edit "MYUSERNAME" and "MYPASSWORD" before saving. (The quotation marks remain --
DO NOT USE YOUR PPTP PASSWORD!)

4- Reboot.

After a couple of minutes the OpenVPN tunnel should establish and be ready for use, now you should be surfing the web with a TCP / UDP HMA IP address.

No comments:

Post a Comment