Last active
September 13, 2021 17:29
-
-
Save solarmicrobe/49494ceedc5a37d764f1731232af6f0c to your computer and use it in GitHub Desktop.
Add zerotier to FreeNAS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /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 |
VERSION=1.6.5
wget https://pkg.freebsd.org/FreeBSD:12:amd64/latest/All/zerotier-${VERSION}.txz
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
for TrueNAS the path permanent is conf/base/etc/rc.conf
work for me