While there is a nice interface for the Windows version, Linux users can only access Hamachi via the command line interface. Nevertheless, with some help from the open-source community, Linux users can now easily install, configure and use Hamachi. This tutorial demonstrates the process for Ubuntu. Tip: if you can’t get the Ubuntu terminal to open to run commands, we have a few fixes for you.

How Hamachi Works

At its core, Hamachi is a proprietary VPN adapter that provides a virtual LAN through an overlay network. Unlike traditional VPNs, such as NordVPN (see our NordVPN review for reference), Hamachi does not route any Internet traffic in and out of its servers. Instead, it allows you to create a secure, closed LAN between different computers, as Hamachi is useful in instances where you want to share a network service without exposing your host computer. For example, you can use it to start an SFTP server and share its contents only to a select few computers. This Virtual LAN approach also allows you to use Hamachi for both peer-to-peer and local server gaming, making Hamachi invaluable for users who want to play games on Linux over the Internet without porting forward their connections.

Installing Hamachi in Ubuntu

Configuring Hamachi in Ubuntu

Lastly, it is also possible to evict and delete an existing Hamachi network. For example, running the following commands will evict a peer using its Client ID and delete the network:

Managing a Hamachi Network With the Haguichi GUI

Aside from directly using the terminal, it is possible to use Haguichi to create and manage a Hamachi network. This third-party GUI wraps around the Hamachi CLI client and presents its functions in a desktop window, which is useful if you are a new user and still not comfortable with the Bash command line. To install the Haguichi GUI, follow the steps below. Image credit: Unsplash. All alterations and screenshots by Ramces Red. Further, Haguichi is also available in Flathub as a distribution-independent package that you can install with: sudo flatpak install flathub com.github.ztefn.haguichi. This connection mismatch can be an issue if your current network provider does not support IPv6. To fix this, disable your system’s IPv6 support by running sysctl: sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1 to force Ubuntu to route every connection it makes to IPv4 instead. That will link every Hamachi network you created in your Ubuntu machine to your online LogMeIn account, allowing you to remotely manage these networks even if your Ubuntu machine is offline.