How to install and Configure Hamachi in Ubuntu

logmein-hamachi

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-0.9.9.9-20-lnx folder in your home.

Open your terminal (Applications->Accessories->Terminal)

cd hamachi-0.9.9.9-20-lnx
sudo make install
sudo tuncfg

Your Hamachi is now installed. (Didn’t I tell you that it is easy?)

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

hamachi-init

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

Now go to PenguinByte and download gHamachi_0.8.1.tar.gz. This is a graphical frontend for Hamachi.

Extract the file.

Right-click on the ghamachi file and select Properties.

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

Double click on the ghamachi to activate the GUI. Similarly, you can type ‘ghamachi‘ 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

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 ghamachi 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.

To configure Hamachi to auto-start

NeoHide.com has written a script to auto-start Hamachi after login. Check it out for configuration instruction.

Do you like what you read here?

Receive the latest update in your inbox.

Or connect with us: