Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am wcameronbowen on github.
  • I am cameronbowen (https://keybase.io/cameronbowen) on keybase.
  • I have a public key ASCs4kYZgsdDX-1_QF_nU8zNExbRvhWqwDiEXMo-G_WOrQo

To claim this, I am signing this object:

@wcameronbowen
wcameronbowen / add_zerotier.sh
Last active October 5, 2020 02:22 — forked from solarmicrobe/add_zerotier.sh
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.4.6
wget http://pkg.freebsd.org/freebsd:12:x86:64/latest/All/zerotier-${VERSION}.txz -O /tmp/zerotier-${VERSION}.txz
pkg add -f /tmp/zerotier-${VERSION}.txz
echo 'zerotier_enable="YES"' >> /etc/rc.conf
service zerotier start