[Support] spikhalskiy - ZeroTier


Recommended Posts

Just installed this on my unraid server. Any time I try to run a zerotier-cli command from the docker instance, I get a dozen lines of the following before the command results:
 

Quote

zerotier-cli: /usr/lib/libstdc++.so.6: no version information available (required by zerotier-cli)

 

Any fix for this? Other then that, things look to be working well. I also installed it on my raspberry pi/pi-hole instance to use a bridge to get access to my whole internal network. Plan is to do the same on a second Pi at my parent's for remote access to their stuff.

Link to comment
1 hour ago, Caldorian said:

Just installed this on my unraid server. Any time I try to run a zerotier-cli command from the docker instance, I get a dozen lines of the following before the command results:
 

 

Any fix for this? Other then that, things look to be working well. I also installed it on my raspberry pi/pi-hole instance to use a bridge to get access to my whole internal network. Plan is to do the same on a second Pi at my parent's for remote access to their stuff.

Not I'm aware of, but I didn't spend any time resolving it. Stuff works just fine and it's safe to ignore.

If it bothers you to the extend of looking for a solution, contributions are welcomed!

Link to comment
  • 2 weeks later...

I have just updated the ZeroTier docker.

 

When I from the ZeroTier docker console run "zerotier-cli -v" it seems like there is a problem with the version number.

 

It lookes like it is still version 1.6.6

/ # zerotier-cli -v
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)
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)
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)
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)
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)
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)
zerotier-cli: /usr/lib/libstdc++.so.6: no version information available (required by zerotier-cli)
1.6.6

 

 

Link to comment
3 hours ago, Michael Kaaber said:

I have just updated the ZeroTier docker.

 

When I from the ZeroTier docker console run "zerotier-cli -v" it seems like there is a problem with the version number.

 

It lookes like it is still version 1.6.6

/ # zerotier-cli -v
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)
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)
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)
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)
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)
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)
zerotier-cli: /usr/lib/libstdc++.so.6: no version information available (required by zerotier-cli)
1.6.6

 

 

 

The new release updated to version 1.8.2

 

Thank you 🙂

 

/ # zerotier-cli -v
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)
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)
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)
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)
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)
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)
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)
1.8.2
/ # 

Edited by Michael Kaaber
Link to comment

...zt is an SDN...you are missing the routing information for the return path.

Define a route to your local home net in ZT-central ... use the zt IP of the Docker as gateway.

Note: in addition, should you wish to expose other hosts in your home network via zt, define a route to zt-network in your local router, with the local zt-Docker-IP as gateway.

  • Thanks 1
Link to comment
10 minutes ago, Ford Prefect said:

...zt is an SDN...you are missing the routing information for the return path.

Define a route to your local home net in ZT-central ... use the zt IP of the Docker as gateway.

Note: in addition, should you wish to expose other hosts in your home network via zt, define a route to zt-network in your local router, with the local zt-Docker-IP as gateway.

Ok, So being a noob at this stuff, the image below is what I interpreted. Is this correct? Or did I misunderstand? 

 

 

1162764018_2021-11-1817_24_11-Window.png.454cfb122d7b1028eed6d32534f602e6.png

Link to comment

Ok, so good to know i’ve done this correctly. the question I’d have then, are there other reasons this wouldn’t work? I have it setup as I posted and I cannot connect to it from my phone even though I can ping it. I can only ping the ZT IP (172.27.2.172) the local IP (192.168.0.110) just times out , though I assumed it would. I am expecting to be able to at the very least connect to the unraid server webui through the ZT IP address but that seems to not work. Any ideas? 

Link to comment

...use a custom bridge (br0) in the network settings of the zt Docker and give it an unique IP from your 192 168.0.0/24 network, but outside of the range which your router reserves for DHCP.

Edit: before doing that, check in your zt-client on your remote pc/phone that "allow managed routes" is checked/enabled in the settings there.
If not, then try that first.

Gesendet von meinem SM-G780G mit Tapatalk



Link to comment

So DHCP is set to 192.168.0.0/25 in my router. I changed the zerotier docker to Br0 and set the IP to 192.168.0.249 which is outside of the DHCP range to my knowledge. I can still ping my server ZT IP address from my phone and I cannot ping the 192.168.0.249 from my phone. Also trying to navigate to my Unraid Server ZT IP or the local IP both dont work. I also checked my phone to see if there is an allow managed routes option and there doesnt seem to be a toggle for IOS. As an additonal test I put my windows PC onto the ZT network and I am able to RDP into the PC from my phone through the ZeroTier IP so it seems that the issue lies inside of Unraid somewhere

Link to comment
2 hours ago, Archemedees said:

So DHCP is set to 192.168.0.0/25 in my router. I changed the zerotier docker to Br0 and set the IP to 192.168.0.249 which is outside of the DHCP range to my knowledge. I can still ping my server ZT IP address from my phone and I cannot ping the 192.168.0.249 from my phone. Also trying to navigate to my Unraid Server ZT IP or the local IP both dont work.

Hmmmm...I need to think about it...I am using it in a different environment, running a set of VLANs and my zt-Docker is on a complete different IP segment than unraid-net. Hence routing will always go via my route and accessing unraid-IP will not be direct.

You do have some kind of routing issue....maybe a docker security thing.

Can you test with a second docker on br0, with a different IP, like 192.168.0.250 and test if you can ping this from your phone?

 

If you can, then check in unraid Docker settings "Host access to custom networks" and set this to enabled.

 

2 hours ago, Archemedees said:

I also checked my phone to see if there is an allow managed routes option and there doesnt seem to be a toggle for IOS.

...I am on Android, so cannot comment on this.

The thing behind is, that the client behind zt-net will be populated with routes, so it does know behind which gateway (zt-ip) your home-net is located. Without that, there is no way for the client to decide to point traffic towards your home via zt and not via I-Net.

 

2 hours ago, Archemedees said:

As an additonal test I put my windows PC onto the ZT network and I am able to RDP into the PC from my phone through the ZeroTier IP so it seems that the issue lies inside of Unraid somewhere

Well, that is the real purpose behind the zt / SDN thing. and what the Docker is intended to be used for.

Link to comment
On 11/4/2021 at 3:12 PM, Dmitry Spikhalskiy said:

Not I'm aware of, but I didn't spend any time resolving it. Stuff works just fine and it's safe to ignore.

If it bothers you to the extend of looking for a solution, contributions are welcomed!

Thanks. Upgraded to 1.8.2, issue is still there. But things are working correctly.
 

Quote

root@UnEVAN:~# docker exec -it ZeroTier zerotier-cli status
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)
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)
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)
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)
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)
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)
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 233970ce34 1.8.2 ONLINE

Don't know anything about building docker images, but this guy seems to have cleared it when he was getting the same error for a different container he was building.

Link to comment

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.