***Update*** – Just made a new blog post about the current situation with Hamachi’s Linux Support. I highly suggest reading this here instead of messing with LogMeIn’s disregard for Linux support.
Hamachi is a VPN service that easily sets up in a short period of time. It enables secure remote access to your network whenever there is an Internet connection available. Some of the best things about it are that it will work through existing firewalls, usually requiring no extra configuration. LogMeIn said it best, “Simple, Secure, and cost-effective“.
Hamachi has been around for quite a while. However it is one of my personal must haves. For anyone who needs remote connectivity between computers in different locations. Some might say that OpenVPN is a better solution. I personally believe it comes down to the right tool for the job. In a way they are right, OpenVPN is much better at scaling for larger environments. So if you are planning on implementing a VPN on a larger network, Hamachi is not for you. Hamachi is better suited for smaller networks. Home based stuff, maybe small businesses.
Hamachi offers by default the AES encryption algorithm with 256 bit key to protect data being sent across the tunnel. There’s some other things like password protection for joining networks, network locks, membership approval, and basic administrative tools. But I’m not here to sell you on which to use, I’m here to show you how easy it is to setup. In this guide I will show you how to install it. But not just install it on Linux, but OS X and Windows. My aim is to make this a one stop shop on how to setup and configure the tools needed to make it usable for each of the three big environments.
- Guide to install Hamachi on Ubuntu 9.04 (page 2)
- Known Issues (bottom page 2)
- Guide to start Hamachi as a system service (page 3)
- Download Hamachi – Archive of past releases (page 4) Added 4/20/10






















26 Comments
Thanks 4 this nice tutorial. I’ll try it soon.. I have hamachi running on Windows XP. But I want it to run on my Ubuntu machine too.. :)
I’ve noticed little glitches like this as well. Are you using the latest version of hamachi? I’ve noticed they’ve released some major updates to their other clients. I haven’t put much time into hamachi as of late, but it’s worth lookin into.
Ok so after doing all this hamachi starts up fine and when i do hamachi -list i see all the hosts in my network. It works for some time i can ping the hosts can telnet / ssh to it. But after a while may be 1 or 2 min it stops. I still can see host list doing hamachi -list but i can’t ping or telnet / ssh to it.
I am using Ubuntu Karmic
If you use etckeeper you’ll get an error using apt-get due to the special file /etc/hamachi/ipc_sock as shown below. This error might cause a loop in the apt installation process using the Synaptic or apt-get so you should not ignore it.
skipping /etc/hamachi/ipc_sock (can’t add file of kind ‘socket’)
etckeeper warning: special files could cause problems with bzr:
./hamachi/ipc_sock
To resolve this issue add that file to the SCM ignore list for the client you have configured etckeeper to use. In my case I executed the following command:
$ cd /etc $$ sudo bzr ignore “hamachi/ipc_sock” $$ sudo etckeeper commit
2 bogdy
Here is a solution for you issue:
http://ubuntuforums.org/archive/index.php/t-1241784.html
curtlee2002
October 1st, 2009, 06:20 PM
It is NOT a bug. Hamachi’s binary is compressed with upx. You just need to uncompress it.
Good Luck Guys
note: /usr/bin is were hamachi’s binary was on my computer.
sudo apt-get install upx-ucl
cd /usr/bin
sudo upx -d hamachi
Ultimate Packer for eXecutables
Copyright (C) 1996,1997,1998,1999,2000,2001,2002,2003,2004,2005, 2006,2007
UPX 3.01 Markus Oberhumer, Laszlo Molnar & John Reiser Jul 31st 2007
File size Ratio Format Name
——————– —— ———– ———–
830676 <- 331144 39.86% linux/386 hamachi
Unpacked 1 file.
—————-
So, after that you can execute hamachi-init and proceed with recommendations provided by Scott