Share this:

Hamachi is used or setup VPN and connect system with each other using vpn network. For this tutorial I have already created hamachi network from its web interface and get a network id and connected a windows system with this network. This tutorial will help you to add Linux machine to this existing network and communicate other systems ( windows + linux ) on this network.

      Network ID: 181-585-285
      Windows Client IP:
      Linux Client IP: Will get after Install

Step 1: Install Required Packages

For installing hamachi on RHEL/CentOS system, you need to have redhat-lsb package installed. If you don’t have already install it using following command.

# yum install redhat-lsb

Step 2: Download LogMeIn ( Hamachi) and Install

Click here to download latest logmein-hamachi rpm file from logmein official site and install it on your system or just use below commands

# wget
# rpm -ivh logmein-hamachi-

Start Hamachi Service using hamachi init service

# /etc/init.d/logmein-hamachi start

Step 3: Join Hamachi Existing Network

After installing hamachi, let’s join to existing network. But it required to be logged in first. There are no need of any login credentials for it, just use following command.

# hamachi login

Logging in .......... ok

Now use below command to join the network. 181-585-285 is the LogMeIn-Hamachi network id.

# hamachi join 181-585-285

Joining 181-585-285 .. ok

Now you have successfully joind to existing network.

Step 4: Check Hamachi Status and Details

To check the ip address, hamachi client id and other details about your system just type command ‘hamachi‘ and press enter.

# hamachi
version :
pid : 20578
status : logged in
client id : 134-582-152
address : 2620:9b::1947:bc4c
nickname :
lmi account: -

To check the current joind network and other details about that network just use following command

# hamachi list

Let’s try to ping to windows client.

# ping -c 4
PING ( 56(84) bytes of data.
64 bytes from icmp_seq=1 ttl=128 time=1.88 ms
64 bytes from icmp_seq=2 ttl=128 time=2.15 ms
64 bytes from icmp_seq=3 ttl=128 time=1.56 ms
64 bytes from icmp_seq=4 ttl=128 time=1.63 ms

--- ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3010ms
rtt min/avg/max/mdev = 1.563/1.806/2.150/0.237 ms

The above output showing that system is successfully communicating with windows client using hamachi network.


Congratulation’s! You have successfully installed and configured LogMeIn Hamachi on your Linux system.