Skip to content

Instantly share code, notes, and snippets.

@solarmicrobe
Last active September 13, 2021 17:29
Show Gist options
  • Save solarmicrobe/49494ceedc5a37d764f1731232af6f0c to your computer and use it in GitHub Desktop.
Save solarmicrobe/49494ceedc5a37d764f1731232af6f0c to your computer and use it in GitHub Desktop.
Add zerotier to FreeNAS
#! /usr/bin/env sh
NETWORKS="8056c2e21c000001" # Space seperated list of networks to join, default here is the public network Earth
VERSION=1.2.4
wget http://pkg.freebsd.org/freebsd:11:x86:64/latest/All/zerotier-${VERSION}.txz -O /tmp/zerotier-${VERSION}.txz
pkg add -f /tmp/zerotier-${VERSION}.txz
for n in $NETWORKS; do
zerotier-cli join ${n}
done
@CueSpace
Copy link

@CueSpace
Copy link

Hi, how can I make my mac address permanent? when restarting the server you need to validate the equipment

cp -R /var/db/zerotier-one /conf/base/var/db

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment