Dmitry Spikhalskiy Posted July 14, 2023 Author Share Posted July 14, 2023 (edited) There will be no updates from me here. There were no changes in the container and its configuration and the same exact container with the same exact configs continues to work successfully on Servers with other Linux distributions. So the problem is in the Unraid update and the fix if any will come from the Unraid team. What I personally observe, with the following Docker settings at least, Zerotier can connect to the service just fine, and other devices in the virtual network can successfully ping the Unraid virtual IP address. And I even can open a directory listing on <unraid virtual ip>:6080. But Unraid UI and docker container ports are not available for devices in the virtual network. My only guess is that 6.12 brought some unannounced changes in isolation causing it. iptables? nginx? I can't figure it out. Edited July 14, 2023 by Dmitry Spikhalskiy Quote Link to comment
Vivent Posted July 14, 2023 Share Posted July 14, 2023 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 zerotier ip and copy interface name from gateway column. Paste the interface name into "Include listening interfaces" field under Interface Extra section, hit apply, and it should all be working. 1 2 1 Quote Link to comment
Elmojo Posted July 14, 2023 Share Posted July 14, 2023 3 minutes ago, Vivent said: I was able to connect to my unraid 6.12.2 This is good news! More testing is required ... can anyone else confirm that this method works? Quote Link to comment
Vivent Posted July 14, 2023 Share Posted July 14, 2023 (edited) I'm not anyone else, but I've just tested it on windows client (also 1.10.6). It took about 1 or 2 minutes to establish the connection, but I can access both unraid GUI and shares. Windows client was connected through the same internet connection as phone (LTE) in previous test. Additionaly I can mention, that currently my unraid server is on network without public ip to the internet (fighting with ISP about it), so it's definietly going through zerotier EDIT: Connection to docker containers also works. Currently listening to music from Jellyfin with zerotier ip Edited July 14, 2023 by Vivent addition info Quote Link to comment
Elmojo Posted July 15, 2023 Share Posted July 15, 2023 That's great to hear, thanks for the additional info! Quote Link to comment
Max Posted July 17, 2023 Share Posted July 17, 2023 unraid 6.12.3 breaks it again for me, was working on 6.12.2. Quote Link to comment
Elmojo Posted July 17, 2023 Share Posted July 17, 2023 5 hours ago, Max said: unraid 6.12.3 breaks it again for me, was working on 6.12.2. Were you using @Vivent's trick on 6.12.2 or no? Quote Link to comment
Max Posted July 17, 2023 Share Posted July 17, 2023 3 hours ago, Elmojo said: Were you using @Vivent's trick on 6.12.2 or no? been using since 6.12. this was mentioned in the changelog of 6.12. Quote Link to comment
JLKunka Posted July 17, 2023 Share Posted July 17, 2023 Here is a link to a discussion thread I started on the Zerotier forum. Are they saying the same thing? Maybe it can help. https://discuss.zerotier.com/t/cant-see-unraid-server-with-windows-machines/14035/6 personally I'm going to wait a bit more before I try 6.12.x again. Quote Link to comment
Elmojo Posted July 17, 2023 Share Posted July 17, 2023 That does seem to be very similar, if not the same solution as outlined by @Vivent. Sorry you had to revert to get it working. I'd love to upgrade, but I just can't take the chance of losing ZT access. I rely on it for work. Quote Link to comment
doubleopinter Posted August 8, 2023 Share Posted August 8, 2023 Is it possible to somehow allow other containers to use this container as their interface? ie I'd like to have some containers on my zerotier network. 1 Quote Link to comment
Elmojo Posted August 9, 2023 Share Posted August 9, 2023 So my issue of this docker randomly stopping itself has returned. I'm still on unRAID 6.11.5, so I know it's not a version compatibility issue. I pulled the log, and the only thing I see is what's shown in the attached screenshot. Does that help anyone? Quote Link to comment
Elmojo Posted August 15, 2023 Share Posted August 15, 2023 On 8/9/2023 at 10:41 AM, Elmojo said: So my issue of this docker randomly stopping itself has returned. Anyone? Quote Link to comment
PuzzleCy Posted August 20, 2023 Share Posted August 20, 2023 On 7/14/2023 at 5:48 PM, Vivent said: 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 zerotier ip and copy interface name from gateway column. Paste the interface name into "Include listening interfaces" field under Interface Extra section, hit apply, and it should all be working. Thank you ! This worked for me when I could no longer ssh via Zerotier (connection refused). I opened a pull request to add this in the readme of the repo as I am sure others will come across this issue when they upgrade their Unraid server. Quote Link to comment
Dmitry Spikhalskiy Posted August 24, 2023 Author Share Posted August 24, 2023 (edited) The above solution originally published by @Vivent that includes setting "Include listening interfaces" works for me with the latest 6.12.4-rc18 and 6.12.4-rc19. unRaid UI, shares, and docker containers are fully available for other nodes in Zerotier virtual network again. Important, if you upgrade from 6.12.3 and have the listening interfaces already set up as suggested: wipe them out, save, and put your zerotier gateway name back again. It was a necessary step for me to make things work after 6.12.3 -> 6.12.4-rc18/19 upgrade. Edited August 28, 2023 by Dmitry Spikhalskiy 1 2 Quote Link to comment
Dmitry Spikhalskiy Posted August 24, 2023 Author Share Posted August 24, 2023 (edited) The image was upgraded to Zerotier 1.12.0 UPD Aug 27: Zerotier 1.12.1 Edited August 28, 2023 by Dmitry Spikhalskiy 1 1 Quote Link to comment
drds Posted August 28, 2023 Share Posted August 28, 2023 since 3days I have ao problem with my Zerotier connection: Unraid: 6.12.3 / # zerotier-cli status 200 info 0f6e035011 1.12.1 OFFLINE / # / # zerotier-cli join 8bxxxxxxxxxx18 200 join OK / # / # zerotier-cli peers 200 peers <ztaddr> <ver> <role> <lat> <link> <lastTX> <lastRX> <path> 62f865ae71 - PLANET -1 RELAY 778cde7190 - PLANET -1 RELAY cafe04eba9 - PLANET -1 RELAY cafe9efeb9 - PLANET -1 RELAY / # / # zerotier-cli listnetworks 200 listnetworks <nwid> <name> <mac> <status> <type> <dev> <ZT assigned ips> 200 listnetworks 8bxxxxxxxxx18 ds_lan 1a:e9:ff:d5:1f:03 OK PRIVATE ztyqbyhkoo 10.144.154.30/16 / # ...and yes, the button on the Zerotier Panel is checked - but no Updates since 3-Days... Restart of the container - no change. Any help or hints? Thanks Dirk PS: I have another Unraid Server, same configuration, everything is fine 🙅♀️ Quote Link to comment
Stri Posted August 28, 2023 Share Posted August 28, 2023 On 7/14/2023 at 6:48 PM, Vivent said: 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 zerotier ip and copy interface name from gateway column. Paste the interface name into "Include listening interfaces" field under Interface Extra section, hit apply, and it should all be working. this was solving the issue on my end, thank you very much! unraid 6.12.3 ok (tested): zerotier 1.8.8 on windows 11 zerotier 1.8.4 on windows 11 zerotier on iphone Quote Link to comment
Capt.Insano Posted September 4, 2023 Share Posted September 4, 2023 On 8/28/2023 at 12:41 PM, drds said: since 3days I have ao problem with my Zerotier connection: Unraid: 6.12.3 / # zerotier-cli status 200 info 0f6e035011 1.12.1 OFFLINE / # / # zerotier-cli join 8bxxxxxxxxxx18 200 join OK / # / # zerotier-cli peers 200 peers <ztaddr> <ver> <role> <lat> <link> <lastTX> <lastRX> <path> 62f865ae71 - PLANET -1 RELAY 778cde7190 - PLANET -1 RELAY cafe04eba9 - PLANET -1 RELAY cafe9efeb9 - PLANET -1 RELAY / # / # zerotier-cli listnetworks 200 listnetworks <nwid> <name> <mac> <status> <type> <dev> <ZT assigned ips> 200 listnetworks 8bxxxxxxxxx18 ds_lan 1a:e9:ff:d5:1f:03 OK PRIVATE ztyqbyhkoo 10.144.154.30/16 / # ...and yes, the button on the Zerotier Panel is checked - but no Updates since 3-Days... Restart of the container - no change. Any help or hints? Thanks Dirk PS: I have another Unraid Server, same configuration, everything is fine 🙅♀️ Did you find a solution to this? I came here with the same issue. Zerotier is not working in "host mode", seems to work fine in bridged or Custom:bond0 when trying to debug but that is useless to me as I cannot access unraid itself. Getting the following when trying to debug via the container console: have the recommended settings for unraid 6.12 under Network settings: Any help would be greatly appreciated. Quote Link to comment
drds Posted September 5, 2023 Share Posted September 5, 2023 My solution: change the network interface from ipvlan to macvlan - after this change, everything works like expected. I hope the macvlan Bug is fixed in the new update. Best regards Dirk 1 Quote Link to comment
Capt.Insano Posted September 5, 2023 Share Posted September 5, 2023 (edited) 16 hours ago, drds said: My solution: change the network interface from ipvlan to macvlan - after this change, everything works like expected. I hope the macvlan Bug is fixed in the new update. Best regards Dirk Thank you so much for this, I had moved to ipvlan as per all the official advice. Confirmed the container is fixed on host settings when changed my Docker settings back to macvlan Is this ipvlan issue new in Unraid 6.12 releases or has it always been an issue? @Dmitry Spikhalskiy Thanks so much for your work on this. Do you think it may be worth noting the issue with ipvlan in the OP or github readme? UPDATE 12 hours later: Just had my first system crash in long long time, I remember why I left macvlan!! I have a few dockers with custom IPs and macvlan causes traces and crashes. I have had to revent to ipvlan again, is there any way of having ipvlan and working zerotier? Edited September 6, 2023 by Capt.Insano update about crashes Quote Link to comment
drds Posted September 6, 2023 Share Posted September 6, 2023 this are my Docker Settings - until now, no problems. Maybe Limetech has change something with the macvlan Bug in the new update 6.12.4, but I have not testing it until now. Quote Link to comment
parked-orthodontist1156 Posted October 22, 2023 Share Posted October 22, 2023 I setup ZeroTier 1.12.1 docker on Unraid 16.12.4, moreover I have Gitea (at docker) on same host, and Gitea claim about "port in use" And yes, host say root@Tower:~# lsof -i :22 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME sshd 17749 root 3u IPv4 80233634 0t0 TCP 10.147.20.xxx:ssh (LISTEN) sshd 17749 root 4u IPv4 80233636 0t0 TCP fffffffff:ssh (LISTEN) Not sure - why we are need listened ssh at ZeroTier network from docker? Quote Link to comment
nmkd Posted October 25, 2023 Share Posted October 25, 2023 Whenever I reboot my NAS, ZeroTier won't work until I do this: Settings -> Network Settings -> Interface Extra -> Remove text, paste text again, click "Apply" Can this be fixed? I don't have to change any settings, but for some reason I need UnRAID to Apply the Interface Extra settings again. 1 Quote Link to comment
Monetary5569 Posted October 27, 2023 Share Posted October 27, 2023 On 10/25/2023 at 9:40 AM, nmkd said: Whenever I reboot my NAS, ZeroTier won't work until I do this: Settings -> Network Settings -> Interface Extra -> Remove text, paste text again, click "Apply" Can this be fixed? I don't have to change any settings, but for some reason I need UnRAID to Apply the Interface Extra settings again. That's exactly right. The below solution works but not after reboot, I did what you said and it's working again, this is an Unraid bug. We should notify this. On 7/14/2023 at 6:48 PM, Vivent said: 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 zerotier ip and copy interface name from gateway column. Paste the interface name into "Include listening interfaces" field under Interface Extra section, hit apply, and it should all be working. Quote Link to comment
Recommended Posts
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.