Last time i had come accross ZeroTier, a virtual LAN/ Hamachi alternative.

For future reference for myself, the steps to install it on:

  • Ubuntu 20.04
  • Fedora 36
  • Archlinux (Pi-KVM)

Ubuntu 20.04

Let’s start with the simplest. Though mind that it’s said this no longer works for 22.04.

1
2
sudo sudo  # so that it will not expect password endlessly 
curl -s https://install.zerotier.com | sudo bash  # official less secure way

Fedora 36

Well official script would work it it wasn’t for openssl1.1-devel-1:1.1.1n-1.fc36.

1
2
sudo sudo  # so that it will not expect password endlessly 
curl -s https://install.zerotier.com | sudo bash  # official less secure way

I also had followed this (Method 4.2) earlier to create symbolic links, so might end up being necessary.

1
2
sudo ln -s /usr/local/lib64/libssl.so.1.1 /usr/lib64/libssl.so.1.1
sudo ln -s /usr/local/lib64/libcrypto.so.1.1 /usr/lib64/libcrypto.so.1.1

Arch

This is more of a self served buffet

1
2
3
sudo pacman -S zerotier-one
sudo systemctl start zerotier-one.service  # had no error
sudo systemctl enable zerotier-one.service

Now, if you could actually make use of the installer script, it shows your client ID. But Arch had no such luxury, and one might want to access the information later.

Having installed the CLI tool:

1
sudo zerotier-cli info

Whitelist the client in ZeroTier network page. Then:

1
sudo zerotier-cli join <zerotier-network-id>

If everything went well, the lovely 200 join OK message should welcome you.

Cheers!