Ubuntu / Linux news and application reviews.

Hamachi is a zero-configuration virtual private network (VPN) application capable of establishing direct links between computers that are behind NAT firewalls without requiring reconfiguration (in most cases); in other words, it establishes a connection over the Internet that very closely emulates the connection that would exist if the computers were connected over a local area network.

Update: a much easier way to do this is to use Haguichi, a GUI for Hamachi and Hamachi2 for Linux (includes a PPA).


Installing Hamachi in Linux is not that easy. Well, it is but it's a lot easier using a script for it, which will also allow you to install a GUI (graphical user interface) for Hamachi. Actually, you can choose from 2 GUIs.

But before I begin, I must say that all the credits for this script go to Soker @ portalubuntu. I just translated the script from Spanish to English (and I didn't do a very good job at it, but it should be enough to understand how to use it).

Using the script to install Hamachi and Hamachi graphical user interface


After downloading the script (download link at the end of the post), simply right click it, on the "Permissions" tab, check the "Allow execution of this file as program" box. Then open a terminal, navigate to where you downloaded the script and type:
./hamachi-ubuntu-1.0.2

Then just follow the on-screen instructions. The script will firstly need to install some packages before installing Hamachi. When it's ready, you'll reach a screen like this:

hamachi script

Then, simply enter "1" to install Hamachi, then "2" or "3" to install a GUI for Hamachi. Recommended is "3" (Hamachi-GUI).

Here are 2 screenshots - the first with gHamachi and the second with Hamachi-gui:

gHamachi LinuxHamachi-gui linux


Download the script in: English | Spanish


Update: I updated the script in English to support Ubuntu 10.04 Lucid Lynx. The one in Spanish doesn't yet support the latest Ubuntu 10.04!


Update 2: a much easier way to do this is to use Haguichi, a GUI for Hamachi and Hamachi2 for Linux (includes a PPA).