AirPiConsole remote access with ZeroTier
Table of Contents
The VPS I use is cheap but unreliable so the tunnel was down most of the time so I started looking for a better alternative.
What is ZeroTier? TL;DR version
ZeroTier is an overlay. It works through the internet, encapsulation is similar to VXLAN. Security is guaranteed by open source and encryption keys that are only hosted on clients and not on ZeroTier servers.
The free tier
A free tier is often a great opportunity to get on-board with new products, use them for small testing/personal projects and get the confidence required to move to production.
ZeroTier community edition allows to connect up to 100 devices and provides free Android and IOS app along with Windows/OSX/Linux clients.
ZeroTier is even available on QNAP, Synology and WD Nas. This is a great boot for security, these NAS are well know for having security problems exposing all the stored data to the Internet.
What you get
Accessing the console we can create net networks. Each network is a L2 domain and has an associated network ID.
To add devices to a network we ca use the CLI
zerotier-cli join <network ID>
or the GUI
Once the devices are connected they must be authorized from the console to actually join the network.
I’ve added a Raspberry, Windows 10 PC and Laptop, Android tablet and phone without any problem.
All the devices now have an additional interface and behave like they’re all connected to the same switch in the cloud. It is possible to setup a custom network (I choose 10.255.255.0/24) and assign static IP addressed to devices.
I don’t know if I would use ZeroTier to actually create L2 connection between datacenter, assuming this is a good idea with any other product anyways.
ZeroTier looks great for IoT and VPN, pricing is reasonable, reliability and performance looks fine based on my small and limited test environment.
ZeroTier satisfies any remote reachability need I had for my home/lab devices and works like a charm on Raspberry Pi Zero W. I can say I’m a happy customer ;-)
Free tier and easy setup makes the whole experience very positive, give it a try!