How to install and Configure Hamachi in Ubuntu

LogMeIn Hamachi is a zero configuration VPN that works with your existing firewall and allows you to access your computer no matter where you are, as long there is Internet connection.

While there is a nice interface for the Windows version, Linux users can only access to Hamachi via the command line interface. Nevertheless, with some help from the open source community, Linux (and Ubuntu users) can now install, configure and use Hamachi very easily.

Installing Hamachi

Download Hamachi to your home folder.

Open the tar file with “Archive Manager” and extract the folder to your home. You should now have a “hamachi-” folder in your home.

Open your terminal.

Your Hamachi is now installed.

Point to note: You will need to run sudo tuncfg for every new Hamachi session (i.e after every reboot)

Configuring Hamachi

Still in the terminal, type:

to generate a crypto identity. You only need to do this once.

Now go to Haguichi and download it. This is a graphical frontend for Hamachi.

Extract the file.

Right-click on the “Haguichi” file and select “Properties”.

Under the “Permission” tab, check the box beside “Allow executing file as program”. Click CLOSE.

Double click on the “Haguichi” to activate the GUI. Similarly, you can type “haguichi” in the terminal.

Click the power button on the left bottom corner to log into Hamachi. The first time you log in, it will show a offline mode. Click the power button again to go into online mode.

Connected mode

To create a network, click on the second button from the right and select Create Network. Give the new network a name and a password. Click ‘Create’.

Once the network is created, it will show on the Haguichi main screen with a red light beside it. This show that the network is created, but not online yet. You can simply right-click on it and select “go online”. Other options include “offline”, “leave network” or “delete network”.

To join a network, click the “Network” button and select “Join Network”. Enter the network name and password and select “Join”.

That’s it.

Subscribe to our newsletter!

Our latest tutorials delivered straight to your inbox