Skip to content

Instantly share code, notes, and snippets.

@joshschmelzle
Last active February 16, 2020 18:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joshschmelzle/516625ce69712f79351151a13d1f8594 to your computer and use it in GitHub Desktop.
Save joshschmelzle/516625ce69712f79351151a13d1f8594 to your computer and use it in GitHub Desktop.
Zero Tier Basics

ZeroTier (ZT) is open source and free to use for most cases (commercial/proprietary use makes it not free).

It's a network virtualization platform that lets you connect to your devices with automatic end-to-end encryption. Think of it conceptually like a VPN, SDN, and SD-WAN all in one.

Getting Started

  1. Create and verify an account over at https://my.zerotier.com/

  2. Create a network https://my.zerotier.com/network

  3. Download ZT on your devices. https://www.zerotier.com/download/

  4. Add your devices to your network as members (2 or more to test it out!).

Download

SSL:

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

Unix Client Commands

Get your ZeroTier address and check the service status

sudo zerotier-cli status

Join, leave, and list networks

sudo zerotier-cli join <network-id>
sudo zerotier-cli leave <network-id>
sudo zerotier-cli listnetworks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment