ZeroTier One VPN configuration (Legacy Firmware)
ZeroTier One is an open source software product which establishes Peer to Peer VPN (P2PVPN) connection between laptops, desktops, phones, embedded devices, cloud resources, and apps.
Introduction
This article contains step-by-step instructions on how to set up Zerotier VPN connection using RUTxxx routers.
Prerequisites
You will need:
- Two RUTxxx routers
- An end device to configure the routers (PC, Laptop, Tablet, Smartphone)
Configuration
- Go to www.zerotier.com and register an account. After the registration you will be able to create a network in the networks tab:
- Your new created network should look somewhat similar to this:
You will need to remember your Network ID and assign IP addresses that will not conflict with your current networks on your devices. You also need to decide your access control which will decide if you want to control who has access to your network (Private Network) or just allow everyone in (Public Network). - Find out the public IP addresses of your routers. You can do this by visiting a website like whatsmyip.org or by using the curl ifconfig.co command via CLI or SSH.
- Navigate to the Services → VPN → Zerotier page. Enable Zerotier, specify your network ID and save:
The first time Zerotier is enabled it creates a unique address for you which can take a bit of time. - After a minute or two your routers Zerotier address should become visible on the network options. Note: For peace of mind, you can name the connection:
- If you have the network set to be Private, you will need to authenticate it as well to allow access to this network. You can do that from the Services → CLI page. Login (user: root; password: router's admin password) and type ifconfig. It should give you a "zt" interface with the same IP. If you see these options, it means you are connected to the Zerotier network and will be capable to reach other devices also connected there.