ZeroTier Review
-
@wrx7m said:
I want something as bare bones as possible, with as little setup as possible to get to the actual task of zerotier installation and config.
All three that I mentioned are extremely lean by default.
-
@scottalanmiller Well I have worked with CentOS and Ubuntu before but not Suse Leap. Hmm. I might try it out.
And when I say worked with, I mean I have setup things like cacti, nagios, openvpn and some others for testing on various distros and versions. Other than that I don't know nearly enough about linux.
-
@wrx7m said:
I need a distraction from other things I am working on today and I was thinking about trying to stand up a zero tier controller in a VM. Which linux distro should I use?
I'm using CentOS 7
-
@wrx7m If you can set up things like Cacti, Nagios, and OpenVPN, you should be able to get ZeroTier up and going without too much of a problem.
Are you going to build your own controller, or use their hosted one (free for up to 10 devices) ?
-
It's really easy to set up and use. It uses sqlite so backups are really easy. You can even just tar the /var/lib/zerotier-one folder.
-
@dafyre I want to build my own controller. That is the point of the "project"
I have tested the hosted one and like the concept. Since the controller can also run the client, can I set it up as a gateway?
-
-
@johnhooks Would tarring the folder be a sufficient backup for the config?
-
@scottalanmiller said:
@wrx7m said:
I need a distraction from other things I am working on today and I was thinking about trying to stand up a zero tier controller in a VM. Which linux distro should I use?
CentOS, Suse Leap and Ubuntu would be my suggestions.
Wasn't too bad on Ubuntu server:
Dependencies for build
sudo apt-get install git make gcc g++ libsqlite3-dev
For API and script stuff
sudo apt-get install curl php5-cli php5-curl
Install
git clone https://github.com/zerotier/ZeroTierOne.git cd ZeroTierOne make ZT_ENABLE_NETWORK_CONTROLLER=1 installer sudo ./ZeroTierOneInstaller-linux-x64-1_1_2 sudo service zerotier-one restart
-
@wrx7m said:
@johnhooks Would tarring the folder be a sufficient backup for the config?
Yup. At least I haven't had any issues doing it. I've tested it out a few times.
-
I decided to go with Ubuntu mostly because of @quicky2g posting the screen captures
-
-
Should I create a new thread for this? Got through the installation and when I ran zerotier-cli /controller to verify installation, I got "missing authentication token and authtoken.secret not found (or readable) in /var/lib/zerotier-one". I tried restarting the zerotier service and also a full reboot of the ubuntu server.
EDIT: I did check the contents of the aforementioned directory and did see the authtoken.secret file but not sure what the other would be if it weren't the same thing...
-
Yeah, if you have a question, make a new thread and mark as a question, too.
-
@wrx7m said:
Should I create a new thread for this? Got through the installation and when I ran zerotier-cli /controller to verify installation, I got "missing authentication token and authtoken.secret not found (or readable) in /var/lib/zerotier-one". I tried restarting the zerotier service and also a full reboot of the ubuntu server.
EDIT: I did check the contents of the aforementioned directory and did see the authtoken.secret file but not sure what the other would be if it weren't the same thing...
did you run as sudo?
-
@wrx7m said:
Should I create a new thread for this? Got through the installation and when I ran zerotier-cli /controller to verify installation, I got "missing authentication token and authtoken.secret not found (or readable) in /var/lib/zerotier-one". I tried restarting the zerotier service and also a full reboot of the ubuntu server.
EDIT: I did check the contents of the aforementioned directory and did see the authtoken.secret file but not sure what the other would be if it weren't the same thing...
This should do the trick:
sudo zerotier-cli /controller
-
@johnhooks said:
@wrx7m said:
Should I create a new thread for this? Got through the installation and when I ran zerotier-cli /controller to verify installation, I got "missing authentication token and authtoken.secret not found (or readable) in /var/lib/zerotier-one". I tried restarting the zerotier service and also a full reboot of the ubuntu server.
EDIT: I did check the contents of the aforementioned directory and did see the authtoken.secret file but not sure what the other would be if it weren't the same thing...
did you run as sudo?
Son of a ... You got me.
That was it.
-
@scottalanmiller Sorry... Will do next time.
-
Holy Necroposting Batman!
I found this topic referenced in another forum, and alas, my server that held the old code for this has long since crashed for reasons we're all familiar with.
In that same post, however, another coder has written a Python script to handle this...