Tuesday, May 14, 2013

OpenVPN on Ubuntu - HideMyTRAX VPN Howto



HideMyTRAX VPN shows you how-to install OpenVPN on Ubuntu in less than 3 minutes.

Step 1
Open a terminal
Enter: sudo apt-get update
Next enter: sudo apt-get install openvpn
Enter 'yes' when prompted

Step 2
Browse to your preferred HideMyTRAX VPN server:
https://toronto-ovpn.hidemytraxvpn.ca
https://saskatoon-ovpn.hidemytraxvpn.ca
https://chicago-ovpn.hidemytraxvpn.ca
https://colorado-ovpn.hidemytraxvpn.ca
https://uk-ovpn.hidemytraxvpn.ca
https://amsterdam-ovpn.hidemytraxvpn.ca

Step 3
Enter your registered 'Username' and 'Password'
Pull down the 'Login' drop down
Click 'GO'.

Step 4
Download 'Yourself (autologin profile)'.

Step 6
In terminal enter:
sudo cp -r /Downloads/client.ovpn /etc/openvpn/

####Apply the OpenVPN patch that fixes DNS leaks on Linux####

In terminal enter:
sudo nano /etc/openvpn/client.ovpn
Scroll down to 'verb 3' and enter a 'hard return'
then add the following lines exactly as they appear below:

script-security 2
up /etc/openvpn/update-resolv-conf
down /etc/openvpn/update-resolv-conf

Hit CTRL-O then CTRL-X to save changes and exit nano

#####################################################
NOTE: Debian distros need resolvconf. In terminal enter:

sudo apt-get install resolvconf
#####################################################

Step 6
Connect by entering the following in the terminal:
sudo openvpn --config /etc/openvpn/client.ovpn

Then, minimize the terminal and let it run.

Step 7
To disconnect, maximize the terminal and enter 'CTRL-C'

Congratulations! You've successfully installed OpenVPN on Ubuntu.

Please visit our website if you need additional help or information.
https://hidemytraxvpn.ca/support/

source

3 comments:

  1. Is the patch for dns leaks work for 12.04.3 ?

    ReplyDelete
  2. finally something that really worked for me on all youtube, lot of tutorials, not so good info, thanks, really appreciated, used this on Kali. no more DNS leaks.

    ReplyDelete