Hamachi - ArchWiki

# Hamachi

From ArchWiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Hamachi is a proprietary, commercial VPN software by LogMeIn, Inc. With Hamachi you can organize two or more computers with an Internet connection into their own virtual network for direct secure communication.

## Installation

Install the logmein-hamachiAUR package.

## Configuration

Hamachi is configured in `/var/lib/logmein-hamachi/h2-engine-override.cfg` (create that file if it does not exist). Unfortunately, it is not easy to find a comprehensive list of possible configuration options, so here are a few that you can use.

### Using the hamachi command line tool as a regular user

In order to use the `hamachi` command line tool as a regular user, add the following line to the configuration file:

    Ipc.User YourUserNameHere

### Automatically setting a custom nickname

Normally, Hamachi uses your system's hostname as the nickname that other Hamachi users will see. If you want to automatically set a custom nickname every time Hamachi starts, add the following line to the configuration file:

    Setup.AutoNick YourNicknameHere

You can also manually set a nickname using the `hamachi` command line tool:

    # hamachi set-nick YourNicknameHere

However, this needs to be done every time Hamachi is (re-)started, so if you always want to use the same nickname, setting it automatically (as explained above) is probably easier.

## Running Hamachi

Start `logmein-hamachi.service`.

Now you have a whole bunch of commands at your disposal. These are in no particular order and are fairly self explanatory.

    $ hamachi set-nick bob
    $ hamachi login
    $ hamachi create my-net secretpassword
    $ hamachi do-join my-net
    $ hamachi go-online my-net
    $ hamachi list
    $ hamachi go-offline my-net

To get a list of all the commands, run:

    $ hamachi ?

Note: Make sure you change the status of the channel(s) you are in to "online" if you want to perform any network actions on computers in there.

### systemd

The logmein-hamachiAUR package also includes a systemd service unit.

You can set Hamachi to start at every boot by enabling `logmein-hamachi.service`.

## GUI

The following GUI frontends for Hamachi are available in the AUR:

- haguichiAUR (Gtk3, Vala)
- quamachiAUR (Qt4, Python)

Category:

- VPN providers