Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Support] spikhalskiy - ZeroTier

Featured Replies

Why don't you use the official Zerotier image for the template? Does your image contain custom changes for Unraid?

  • Replies 345
  • Views 112.6k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Dmitry Spikhalskiy
    Dmitry Spikhalskiy

    1.4.6 is released for everybody, the CLI instructions in the topic header are updated for the new docker image layout.

  • Dmitry Spikhalskiy
    Dmitry Spikhalskiy

    I'm going to - update to 1.8.x and - expose allowManaged, allowGlobal, allowDefault options in unRAID UI   But no specific timelines. When I get some free hands on a weekend.

  • For anyone looking for a solution, I was able to connect to my unraid 6.12.2 from a phone on zerotier 1.10.6.   Just go to settings -> Network Settings. In Routing Table section find your

Posted Images

  • Author
Quote

Why don't you use the official Zerotier image for the template? Does your image contain custom changes for Unraid?

Yes, it's a custom image.

First of all, it's on Alpine and it's much lighter. Zerotier official image moved to debian at some time, I took their image at that time and maintain myself:

https://github.com/Spikhalskiy/zerotier-containerized/blob/master/Dockerfile

Second, it has a custom starter script that wires parameters the right way:

https://github.com/Spikhalskiy/zerotier-unraid-docker/blob/master/Dockerfile

It doesn't have any changes to zerotier binaries and install them from the official sources.

It's all on github, suit yourself.

Edited by Dmitry Spikhalskiy

  • 3 weeks later...

Does anyone know how to update ZT to 1.8.10 in this?

Edited by Eddie Seelke

  • Author
41 minutes ago, Eddie Seelke said:

Does anyone know how to update ZT to 1.8.10 in this?

Is there a problem 1.8.10 solves for you that 1.8.2 doesn't?

  • 2 weeks later...

Hi Dmitry,

Do you have time to update to latest Version?

Regards

Michael

Edited by Michael Kaaber

  • Author
4 hours ago, Michael Kaaber said:

Hi Dmitry,

Do you have time to update to latest Version?

Regards

Michael

1.10.0? I will skip this one.

1. I see several issues in github that after an upgrade specifically to 1.10.0 users installations stopped working. I inclined to wait for at least first patch version. https://github.com/zerotier/ZeroTierOne/issues/1692 https://github.com/zerotier/ZeroTierOne/issues/1695

2. I'm not sure what's going on with 1.10.0. The latest code changes in zerotier github are for 1.8.10. There is neither Release Notes related to 1.10.0 (https://github.com/zerotier/ZeroTierOne/blob/master/RELEASE-NOTES.md), nor code changes between 1.8.10 - 1.10.0. I don't want to upgrade to some version that is stated just on their website and completely doesn't exist in the code repository. I guess it's ok if they suddenly went closed source, but it's not ok that I can't find any information or statement about it around at all.

Edited by Dmitry Spikhalskiy

Using ZTNCUI my zero tier server is crashing at random intervals. "exited: ztone (exit status 0; expected)" is the last thing it says before going offline. Restarting the container makes it work again until the next random crash. Any ideas?

I think I've figured out a solution. I'll create an update if I'm still getting issues.

 

First go into your ztncui appdata folder and create a file called supervisord.conf. Open it and paste in the contents of your container's "/etc/supervisord.conf" file. You can get the contents by: Opening the console, cd /etc/, cat supervisord.conf

 

Edit your appdata supervisord.conf once more and add a line to the [program:ztone] section that says 'autorestart=true'. This should in theory force ztone to restart whenever is exits expectedly(which I was getting) or unexpectedly.

 

Finally navigate to your container and add a new path:

Config Type: Path

Name: Supervisord.confg

Container Path: /etc/supervisord.conf

Host Path: /mnt/user/appdata/ztncui/supervisord.conf

 

Press apply and it should all boot fine. You can check the container has picked up your supervisord.conf file by doing what we did previously using cat inside the container console. It should show our new autorestart line.

 

Edit: A few days later after these changes ztone tried to exit and it auto restarted. Everything working normally as if nothing happened.

image.thumb.png.3f5b52e993f97f88a2f85cc18babc341.png

Edited by jimrummy101
Providing an update

  • 3 weeks later...

Adding more than one zerotier network. I would like to create two zerotier networks. One that only allows access to my Emby server e.g.192.166.10:8096 and another network that allows me to access the UNRAID dashboard i.e. 192.168.0.10:80.

 

I can see how to do this by creating two separate zerotier networks. Does your container allow me to specify more than one zerotier network? Suggestions for alternative methods welcomed!  

On 7/5/2022 at 8:43 AM, ianGB said:

I can see how to do this by creating two separate zerotier networks. Does your container allow me to specify more than one zerotier network? Suggestions for alternative methods welcomed!  

To answer my own question. It's simple: just add another network id in the Network ID field.

  • 2 weeks later...

In unraid 6.10.2, the application cannot be registered in the zerotier network, can it be fixed?

  • Author
6 hours ago, final said:

In unraid 6.10.2, the application cannot be registered in the zerotier network, can it be fixed?

This app/container works fine with Unraid 6.10.2 or 6.10.3, there is nothing to fix.

You have to debug your own environment. In the root post you can find steps that you should do to make a meaningful information about your issue. Somebody in this thread may help if you provide enough info.

Edited by Dmitry Spikhalskiy

  • 2 months later...

can this docker using NAT router function? How to config?

  • 1 month later...

Hey

I installed Zerotier on my unraid server and authorized it on my network. I can ping the server from another pc in the zerotier network. But I have no access to the Dashboard in the zt network or with smb to access my files. Do I need to change or add some settings in unraid to reach the Dashboard and files?

  • 2 weeks later...
  • Author

The image was upgraded to the latest Zerotier 1.10.2 

Hi, for a few days my unraid no longer connects to the zerotier VPN or does it for a few minutes and then goes offline.

I have not made any changes to the server or to the router, I accidentally noticed it while trying to connect from outside the home.

I enclose some information, hoping it will be useful:

 

From the logs of the docker:

connect: Operation timed out
connect: Operation timed out
connect: Host is unreachable
connect: Host is unreachable
connect: Host is unreachable

 

/ # zerotier-cli info
200 info abcda***f8 1.10.2 OFFLINE

 

/ # zerotier-cli listnetworks
200 listnetworks <nwid> <name> <mac> <status> <type> <dev> <ZT assigned ips>
200 listnetworks a0cbf4b****1148 IlPixelMatto 4a:ba:63:**:ce:0c OK PRIVATE ztc3***j3c 192.168.191.12/24

 

/ # zerotier-cli listpeers
200 listpeers <ztaddr> <path> <latency> <version> <role>
200 listpeers 62f865**71 - -1 - PLANET
200 listpeers 778cde**90 - -1 - PLANET
200 listpeers cafe04**a9 - -1 - PLANET
200 listpeers cafe9e**b9 - -1 - PLANET

 

image.thumb.png.445a4d913e25fcaa4adc02881ecc6ea3.png

 

The router has automatically created:

 

image.png.6dd637781543d56a619099fda97264bd.png

 

image.thumb.png.d77a72ae1c96529efdfb873112b6a286.png

 

There are no changes on the zerotier website

 

image.png.18fc9467aaf4ad456c0821bd75aa4f8e.png

 

image.thumb.png.858a48212df5585d3ffb3ed308cdd28c.png

 

Anyone have any idea what may be causing the problem? My provider is fastweb which is under NAT.

 

Thanks!

  • Author

@ilpixelmatto 4 days ago I upgraded the container from 1.8.2 to 1.10.2. If you want to check if that is what causes your instability, you may downgrade by specifying a tag "spikhalskiy/zerotier:1.8.2" and see how it behaves.

723041920_Screenshot2022-11-11at10_54_34AM.thumb.png.0bf167af26768e9c96d563a4339e88d2.png

Edited by Dmitry Spikhalskiy

On 11/11/2022 at 4:57 PM, Dmitry Spikhalskiy said:

@ilpixelmatto 4 days ago I upgraded the container from 1.8.2 to 1.10.2. If you want to check if that is what causes your instability, you may downgrade by specifying a tag "spikhalskiy/zerotier:1.8.2" and see how it behaves.

723041920_Screenshot2022-11-11at10_54_34AM.thumb.png.0bf167af26768e9c96d563a4339e88d2.png

I try with the "old" 1.8.2 but I have the same problem, I don't understand where is the problem, I don't have made any change in mounths.

 

But now the zerotier-cli info tell me this:

 

zerotier-cli info
zerotier-cli: /usr/lib/libstdc++.so.6: no version information available (required by zerotier-cli)
[...]
zerotier-cli: /usr/lib/libstdc++.so.6: no version information available (required by zerotier-cli)
200 info abcda278f8 1.8.2 TUNNELED (on my.zerotier is offline 1H 34M)

zerotier-cli listpeers
200 listpeers <ztaddr> <path> <latency> <version> <role>
200 listpeers 62f8***e71 - -1 - PLANET
200 listpeers 778***190 - -1 - PLANET
200 listpeers a0c***b62a - -1 1.10.2 LEAF
200 listpeers caf***eba9 - -1 - PLANET
200 listpeers caf***feb9 - -1 - PLANET
  
  
zerotier-cli listnetworks
200 listnetworks <nwid> <name> <mac> <status> <type> <dev> <ZT assigned ips>
200 listnetworks a0cbf4b6***1148 IlPixelMatto 4a:ba:63:**:ce:0c OK PRIVATE ztc***j3c fda0:cbf4:b62a:***:4899:93ab:***:***/88,192.168.191.12/24

 

image.png.122a7f079872a917e841a64ff4d87e21.png

 

I tried enabling ipv6 as well but nothing changed.
I've tried using another docker like "tailscale" VPN and it works fine so I'm assuming it's not the router blocking the connection. Also because I've been using zerotier in a virtual machine for more than a year and I've never had connection problems from that zerotier instance).

 

Thanks very much for your hard work. 🥰

On 11/15/2022 at 9:22 AM, ilpixelmatto said:

I try with the "old" 1.8.2 but I have the same problem, I don't understand where is the problem, I don't have made any change in mounths.

 

But now the zerotier-cli info tell me this:

 

zerotier-cli info
zerotier-cli: /usr/lib/libstdc++.so.6: no version information available (required by zerotier-cli)
[...]
zerotier-cli: /usr/lib/libstdc++.so.6: no version information available (required by zerotier-cli)
200 info abcda278f8 1.8.2 TUNNELED (on my.zerotier is offline 1H 34M)

zerotier-cli listpeers
200 listpeers <ztaddr> <path> <latency> <version> <role>
200 listpeers 62f8***e71 - -1 - PLANET
200 listpeers 778***190 - -1 - PLANET
200 listpeers a0c***b62a - -1 1.10.2 LEAF
200 listpeers caf***eba9 - -1 - PLANET
200 listpeers caf***feb9 - -1 - PLANET
  
  
zerotier-cli listnetworks
200 listnetworks <nwid> <name> <mac> <status> <type> <dev> <ZT assigned ips>
200 listnetworks a0cbf4b6***1148 IlPixelMatto 4a:ba:63:**:ce:0c OK PRIVATE ztc***j3c fda0:cbf4:b62a:***:4899:93ab:***:***/88,192.168.191.12/24

 

image.png.122a7f079872a917e841a64ff4d87e21.png

 

I tried enabling ipv6 as well but nothing changed.
I've tried using another docker like "tailscale" VPN and it works fine so I'm assuming it's not the router blocking the connection. Also because I've been using zerotier in a virtual machine for more than a year and I've never had connection problems from that zerotier instance).

 

Thanks very much for your hard work. 🥰

 

Just for information, I updated unraid to 6.11.5 and now everything is working again with the latest version of the container.

On 6/5/2018 at 11:21 AM, Dmitry Spikhalskiy said:

@bonienl  Ok cool, join to network didn't go right. What about a result of manual input

./zerotier-cli join <NETWORK_ID>

 

You may want to consider putting this in the install guide, as this was a requirement for mine to work.  Thank you for your work.

  • Author
16 minutes ago, air1kdf said:

You may want to consider putting this in the install guide, as this was a requirement for mine to work.  Thank you for your work.

@air1kdf this container does exactly that on every start. If this command helped you, you either put an incorrect networkId in the container settings or a simple restart of the container would also help. 

Edited by Dmitry Spikhalskiy

  • 2 weeks later...

Hi, Wenn i try to give this input :

 

/ # ./zerotier-cli join xxxxxx

 

I receive this respond :


sh: ./zerotier-cli: not found

 

/ # zerotier-cli info
200 info 781219ed00 1.10.2 ONLINE
/ # zerotier-cli listnetworks
200 listnetworks <nwid> <name> <mac> <status> <type> <dev> <ZT assigned ips>
/ # zerotier-cli listpeers
200 listpeers <ztaddr> <path> <latency> <version> <role>
200 listpeers 62f865ae71 50.7.252.138/9993;8848;8674 175 - PLANET
200 listpeers 778cde7190 103.195.103.66/9993;8848;3718 126 - PLANET
200 listpeers cafe04eba9 84.17.53.155/9993;13853;13818 35 - PLANET
200 listpeers cafe9efeb9 104.194.8.134/9993;8848;3681 163 - PLANET

 

Have you a solution ?

 

Thanks 

 

I have two servers: Primary and Offsite. (Offsite is a backup server for Primary.) Both Primary and Offsite were using Duckdns. A few weeks ago I switched Primary to use Cloudflare with my own domain. Primary, Offsite and my laptop are connected to my Zerotier network via the shared Zerotier Nework ID. Before making the change to Cloudflare for Primary, I could turn on the Zerotier client on my laptop and connect to Primary and Offsite without a problem. Now I can only reach Offsite. Primary is not accessible. Any ideas why?

I get the same error as Astro_Remote where sh: ./zerotier-cli: not found.

 

However I have pFsense doing all my VPN traffic.  My unRaid server is behind the VPN.  But my other 3 devices have no issues so I am not sure why. 

  • Author

@Moepsindi Why do you run

./zerotier-cli

at all? This container doesn't have runnable `zerotier-cli` in the root of the file system. So, this command is not expected to work. zerotier-cli executable is in `/usr/bin/zerotier-cli`.

 

`zerotier-cli join` or `zerotier-cli info`, etc will work in this container.

Edited by Dmitry Spikhalskiy

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.