ZeroTier implements a detailed tutorial on intranet penetration, without the need for public network IP, and realizes remote networking

ZeroTier

Zerotier uses VLAN (Virtual Local Area Network) technology to connect different devices into a "virtual local area network", so that these devices can access each other anytime and anywhere

1. Register an account on the official website and create your own LAN segment

Log in to the official website:
https://www.zerotier.com/

insert image description here

Create network:
insert image description here

2. Click the created network to enter the setting interface for setting

Remember the NETWORK ID, click to enter the setting page
insert image description here

insert image description here

insert image description hereinsert image description here

3. Download the client, install the client, and then connect to the network

There is an installation tutorial on the zerotier.com/download/
website, follow the tutorial

insert image description hereHere take linux as an example, command installation:

curl -s https://install.zerotier.com | sudo bash

After the installation is complete, you can use the systemctl command to control the service:

sudo systemctl enable zerotier-one.service

sudo systemctl start zerotier-one.service

sudo zerotier-cli leave 17d709************(填写自己的 networkid)

Check the installed zerotier version:

sudo zerotier-cli status

Join a network:

sudo zerotier-cli join 17d7094***********(填写自己的 networkid)

To exit a network:

sudo zerotier-cli leave 17d709************(填写自己的 networkid)

4. After successfully joining the network, you need to return to the web page

If private is selected above, the device is authorized to access the network.
If you select public, no operation is required.
insert image description here

5. The access method of windows device is similar, after the installation is complete, you can access it

insert image description here

Enter the ID
insert image description here
must point is! ! ! !

insert image description here

6. Now you can freely access the devices in the network through the IP of each device

insert image description here

speed optimization

If your device shows that it is online, but the link still fails.
Zerotier uses global service nodes by default, which is unstable during peak hours. The official also stated that you can build your own moon server as a springboard to speed up the network.

There is not much demand and no optimization is required. After all, a server is needed, so Xiaobai can go to the previous step. Optimization is only for those who have their own server.

The moon server is very simple to build, first add the server to the network point, and repeat the previous step.
For optimization tutorials, please refer to the tutorials of the following two masters.

1. The penetration speed of the zerotier intranet is extremely slow (zerotier speed optimization)
2. How to set up a moon server to speed up the access speed of zerotier

Guess you like

Origin blog.csdn.net/SXIAOtian/article/details/129412103