Linux Applications

How to Install and Configure Hamachi on Linux

Looking for an easy-to-use virtual private network over the LAN connection then certainly Hamachi is one of best options one can get. Though officially this VPN does not come with GUI for Linux, users use the command line interface to configure and operate the application. So, if you’re interested in installing the Hamachi on your Linux system then this guide is for you.

Installing Hamachi on Linux

Hamachi is a virtual private network provider that is free for up to 5 users and can also be used to extend a LAN network. Not only that it is also a best fit for the gamers to create servers as it does not require port forwarding so below are some steps one need to follow to install Hamachi on Linux:

Step1: Before beginning the process of installation first update the packages list of your Linux system using:

$ sudo apt update

Step2: Next download the Hamachi .deb file by getting the download link or by directly downloading it from official site:

$ wget https://www.vpn.net/installers/logmein-hamachi_2.1.0.203-1_amd64.deb

Step 3: Now install Hamachi application using dpkg application using:

$ sudo dpkg -i ./logmein-hamachi_2.1.0.203-1_amd64.deb

Step 4:  Just to be sure that if the application is installed successfully check the version of Hamachi using:

$ hamchi --version

So, this is how one can install Hamachi on Linux so now let’s move towards configuring the application

Using Hamachi on Linux

To begin will using this virtual private network provider one needs to go through the steps mentioned below one by one:

Step 1: First login to the Hamachi using:

$ sudo hamachi login

Step 2: Now it’s time to create a network and for that follow the syntax given below:

$ sudo hamachi create <server-name> <server-password>

For further illustration, an example that is done for you:

$ sudo hamachi create linuxhintnetwork linuxhint123

Step 3: Now you or other users can join network with the network ID and the password for the created network, using the following syntax:

$ sudo hamachi join <network-name>

For example, if you want to join the network as Linux user (Ubuntu) then:

$ sudo hamachi join linuxhintnetwork

Step 4: Next, if any user wants to leave the network, then use the given syntax:

$ sudo hamachi leave <network-ID>

For example:

$ sudo hamachi leave linuxhintnetwork

Step 5: Now if you want to delete the network then use the following syntax:

$ sudo hamachi delete <network-name>

For example:

$ sudo hamachi delete linuxhintnetwork

Further if you need more information about different commands used for Hamachi then execute:

$ sudo hamachi help

Conclusion

Hamachi is one of the most secure virtual private network providers that is quite easy to operate and use. For the Linux system just download it from its official website and afterwards install it using the dpkg package manager.

About the author

Aaliyan Javaid

I am an electrical engineer and a technical blogger. My keen interest in embedded systems has led me to write and share my knowledge about them.