Introduction ZeroTier is comparable to Hamachi and Pertino (in certain ways). This tutorial will show you how to set up a ZeroTier ne...
Introduction
ZeroTier is comparable to Hamachi and Pertino (in certain ways). This tutorial will show you how to set up a ZeroTier network that you can use to connect devices from anywhere.
I use this along with NoMachine to support users.Steps (6 total)
Download the appropriate ZeroTier One client from zerotier.com. I'll be using the Windows client and the .rpm client.
On Windows, just run the installer. On Red Hat based distros run the installer using sudo yum localinstall zerotier-one-1.0.5-1.el6.x86_64.rpm. On Debian based run sudo dpkg -i zerotier-one_1.0.5_amd64.deb.
Click on Login on the ZeroTier website and then click create account. Once you have an account set up, you can create networks. If you use their hosted controller you can have 10 devices per network for free. If you need more than 10, it's $4 a month per network. You can also create your own controller, but it's more involved.
Type in the name of the network you want to create and "New Network."
Click on your newly created network to configure it. You can set a description for your network. If you want this to be a private network, then leave the private box checked. If you want anyone to be able to access this network, then uncheck it.
Next is the IP address settings. ZeroTier creates a new network interface for each network on the devices. You can have the controller manage the IP addresses or you can set them up manually on each device. You can choose from pre-configured subnets or create your own. Just make sure that there will be no conflicts between existing subnets.
You can leave the defaults set for rules unless you need IPX or AoE.
You can also leave the default set for the multicast limit unless you need to increase it for a larger network.
The members section at the bottom is where the devices show up as they are added. Let's add a device.
If you're using the Windows client, copy the network ID from the ZeroTier site and paste it into the ZeroTier One application at the bottom right. When you've added a network it will show up in the same window just like the screenshot (but the network information will be there).
On Linux, just type sudo zerotier-cli join <network_id>.
On private networks, you will need to authenticate the device before it can connect. Go back to the ZeroTier controller page and see the newly connected device. Compare the device ID with the one displayed in the application and then check the Allowed box.
The last public IP will be shown above the ZeroTier address (it's been removed here).
Conclusion
You can have a whole network set up in about 30 minutes or less depending on devices. This is a great cost effective way to connect multiple devices over the internet.
No comments
Post a Comment