Installing ZeroTier Server on Ubuntu 20.04

This is a guide for manually installing ZeroTier Server on Ubuntu 20.04

0
151

Create Zero Tier Account

Go to https://www.zerotier.com/, press sign up, and sign up for an account. I’m using my google account to create an account.

Once created, you will get the welcome screen. Press Create a Network

You will get a random network id and network name. I’m going to modify the name so click the name, and you get the settings page.

Make sure you access control as PRIVATE (that’s default).

Copy the network id from here for later.

Install the Zero Tier app on the server

Download and install the ZeroTier App on the server.

You will get your unique ZeroTier address for that server.

Now join the network, using the below command using the network id from the ZeroTier website copied earlier. You should get 200 join ok after the command

Log back into ZeroTier and click on your network name, scroll down to members, and tick auth if the address field matches your ZeroTier address randomstring from the install command.

Connecting your android phone to the network

Download the ZeroTier One app from the AppStore

Press the plus in the corner to join network.

Enter the network id from earlier and press Add network

Once done, enable the connection by toggling the switch under the network.

Log back into ZeroTier and click on your network name, scroll down to members, and tick auth.

Create a route to your server

As I just want to connect to my server remotely, I am creating a route just for this. Log back into ZeroTier and click on your network name, scroll down to members, and grab your ip address of your server.

Scroll up to Advanced, and Add Routes.

In Destination add the ip of the server with /32 at the end. This specifies just this ip. Change 192.168.1.5 for the ip address of your server

In the (via) section, add the ip you copied from the member section

Press submit.

You will now be able to see your server on the 192.168.1.5 (or whatever your server ip is).


🔗 https://www.llewellynhughes.co.uk/post/installing-zerotier/

*Atualizado em 20 de maio de 2024

Estude a Bíblia!
Subscribe
Notify of
guest
0 Comentários
Inline Feedbacks
View all comments