ZeroTier Review
-
It's amazing how quickly you can go over ten devices!
-
What end point platforms does it work on?
-
To connect as devices, it runs on Windows, Mac, and Linux. There's an Android device in the works.
For the controllers, I'm not sure. You do have to compile it yourself if you want to run a controller, so I know that the controller bits work at least on Ubuntu 14.04.
-
No FreeBSD? No Solaris?
-
Packages are available for Windows 7 , Mac OS, and Linux .
If you want to use FreeBSD, then you'll need to compile it yourself. I see nothing about Solaris on their site, though.
-
Not even Windows servers or the last three versions? Is the project still current?
-
@scottalanmiller lol. Windows 7 and up. (Keep commenting, and I'll keep editing the post, lol).
-
Oh that is a bit better.
-
And very much a current project, lol. I got help with an issue via the Github Issue tracker, lol. And got emails from them about screenshotting for the write up.
-
See updates above... Client-To-Site VPN is now working... sadly, I don't have a second site that I could hijack ^W use for testing... Yet. I feel a visit to family coming on, lol.
-
I must be dense. To set up the controller you compile the same zerotierone package but pass make ZT_ENABLE_NETWORK_CONTROLLER=1 first?
-
@johnhooks Yeah. When you build it with the controller enabled, it also builds the client too, so there's just one install to manage... I just discovered a shortcut to the rigamarole I went through before to initially get the installer...
cd /path/to/ztsource make ZT_ENABLE_NETWORK_CONTROLLER=1 installer
Will correctly build the controller bits in, as well as generate the installer script.
sudo ./ZeroTierOneInstaller-linux-x64-1_0_5
Will install it in /var/lib/zerotier-one, and install the init.d files (or the systemd files, whatever the going rate is these days)...
You can check to see if you have the controller in stalled correctly by doing this:
root@yourserver:~# zerotier-cli /controller { "controller": true, "apiVersion": 1, "clock": 1441048250252, "instanceId": "#####################" }
If it is installed correctly with the controller bits enabled, it should look like that.
If it did not install with the controller bits, then you'll get a 404 error.
-
@dafyre Thanks!
-
Hey @johnhooks ,
Havae you tried to get the Site-To-Site working yet?
-
@dafyre said:
Hey @johnhooks ,
Havae you tried to get the Site-To-Site working yet?
I got everything installed, but I got stuck at creating a network haha.
-
Yeah, I never did get that part to work using the shell... so I cheated a little and did it with PHP for creating the network, and I did get a bash script written for authorizing the clients. These scripts need to be in /var/lib/zerotierone.
Sadly, it won't let me upload text files, so here's a link to the PHP Script (it is a text file, so my server won't execute it, lol)
https://beta.wellston.biz/ztCreateNetwork.txt
After you get that done, it will create a network. In the ZeroTier client, copy and paste the network ID (it will show it to you after the network is created, or you can get the Network's ID by:
root@yourserver:~#zerotier-cli /controller/network
After you successfully join a client to the network, you will need to authorize the client before it is issued an IP address (Shell Script here): https://beta.wellston.biz/ztAuth.txt
The first is the Network ID (the full 16 digit network id), and the second is the client id. (You can locate the client id in the bottom left of the interface if you are using the gui). If you are trying to connect from a non-gui Linux install, you can run zerotier-cli info again, and it will return your client's ID...
root@yourclient:~#zerotier-cli info 200 info <your id here> ONLINE 1.0.5
To authorize the client it would be:
root@yourserver:/var/lib/zerotier-one# ./ztAuth <networkid> <client id>
It should spit out a blurb of text. Just check and make sure Authorized=true, and you should be good to go. I would recommend getting a couple of clients working from within the ZeroTier IP addresses before trying to get them to do Client-To-Site.
-
That's awesome. Thanks so much! I'll give this a shot when I get some time today. I'm glad it wasn't just me that couldn't get it through the cli, I think their ReadMe's need some more direction.
-
@johnhooks Very much so, lol. I think they have an admin bit in the works, but I'm not sure if it will be part of the client package or a separate download or what they are going to do with it yet.
-
How did you allow bridging? Just using their hosted account, I checked the box but I can't see any other devices on the network.
-
I treated it as a routed network. So I built a Fedora 22 VM, enabled IP Forwarding and set up the routes on my remote client to my home network via the ztRouter's zt ip addeess.
And then on my home router, I added a route to my Zerotier ip range via the LAN address of my Zerotier router.
Clear as mud?