-
Notifications
You must be signed in to change notification settings - Fork 149
Create a network in ZeroTier Central
To create a ZeroTier network you can use any controller either your own or the official ZeroTier controller, our advice is to use the official one initially to avoid configuration errors.
In our examples the ZeroTier network is 172.28.28.0/24
with router IP
172.28.28.1
and the local network is 192.168.1.0/24
with router IP
192.168.1.1
.
Once we have accessed the ZeroTier controller we will click on the Create a network button which will generate a network ID that we will configure as follows.
ZeroTier Controller
-------------------
Network ID: 17d709436cd2ee29
IPv4 Auto-Assign (advanced)
[x] Auto-Assign from Range: 172.28.28.1-172.28.28.255
Managed Routes:
172.28.28.0/24 (LAN)
192.168.1.0/24 (172.28.28.1)
IPv6 Auto-Assign
[ ] ZeroTier RFC4193 (/128 for each device)
[ ] ZeroTier 6PLANE (/80 routable for each device)
[ ] Auto-Assign from Range
Note that the network ID is different for each network and is generated when the network is created, so you will need to make a note of yours as we will use it later.
Some screenshots of this configuration are shown below:
Warning: Do not forget to configure the route for the 192.168.1.0/24
network through 172.28.28.1
if you want the hosts of your ZeroTier network
to be able to communicate with the hosts of your local network.
Now that you have the network created, you can configure ZeroTier in OpenWrt: