Zerotier Tutorial: Delivering the Capabilities of VPN, SDN, and SD-WAN via an

How to create a local LAN to play video games or securely administer servers. Better than Hamachi

3 Likes

Just got done setting this up and it’s way better than running openvpn or tor nodes.

There’s a dockerized version too

So one can secure their compute nodes by setup a software defined network with

docker run \
  -d \
  --restart unless-stopped \
  --name zerotier-one \
  --device /dev/net/tun \
  --net host \
  --cap-add NET_ADMIN \
  --cap-add SYS_ADMIN \
  -v /var/lib/zerotier-one:/var/lib/zerotier-one \
  henrist/zerotier-one

Then configuring docker to bind on the zerotier network interface.

Got to try this out with docker-machine, hass.io, and docker dyndns to see if one can build a compute cloud via automation.

yes there’s a reason for this craziness

1 Like

Almost forgot, killer feature that’s going to be developed:

https://docker.pkg.github.com/denzuko/mainnet-automation

Thanks for this post. I hadn’t heard of zerotier before. I just finished creating an owncloud server reachable only via private zerotier network stored on a synology NAS using a mounted encfs file system.

2 Likes

smashing! Love to hear the results of how well it works out for you.

Be sure to enable either upnp (not ideal but ok for most networks) or keep port 9993/udp open on the network.

For those who try to use Zerotier in a Virtualbox VM be aware that you’ll experience very slow network speeds on the Zerotier interface if you use NAT. This is the default for a Vagrant VM. Switch to bridged and you will achieve high speeds.

1 Like

Good to know. Been using the vxlan networks with docker and getting some good results. Should do a benchmark at some time in the near future.