Alternative, faster ways to get help
If you have just started using ZeroTier, here are some places to get help:
Describe the bug
I created a simple network with 2 computers and 2 Android phones. These devices are connect to three different networks.
1: Computer A
2: Computer B
3: Android A and Android B
If I'm on Computer A I can only ping Computer A, if I am on Android B I can only ping Android B.
Strangely I was able to ping a computer of a friend a few days ago.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
As shown in the YouTube Demo, I should be able to ping each device with default settings.
Desktop A/B (please complete the following information):
Smartphone A (please complete the following information):
Smartphone B (please complete the following information):
Additional context
Add any other context about the problem here.
Same problem here. 4 devices cannot ping each other.
I have the exact same issue as well.
same problem
For computers (Windows) it seems to be a problem with new networks. I could join the Earth test network from ZeroTier and ping several other devices. I still can't ping other devices in my own network.
For mobiles (Android) I can't even ping devices in the Earth test network I could ping with my computer. They seem to be broken completely.
Add a space to the flow rules then save. Seems to work around the issue.
OMG jtrott you are my Hero!! Can confirm this is working for my computers and my android phones!
jtrott solution works! I confirm too.
Where are people adding spaces? Have tried several places and still not working :-(
empty line under accept; in Flow rules then save changes
@Shark1nat0r Thanks. Had one blank by default, added another. Unfortunately still now joy.
Diags: Reboot of iPad, waited 2 mins on connect, app showing as connected as is ZT Central, but [VPN] symbol never arrives on iPad toolbar and cannot ping in/out.
Unfortunately I have no Apple device to test it. But I had to reconnect my Android phone too for it to work. But the VPN symbol is showing on my device.
@darkorigins If [VPN] symbol is not showing then ZT should not working properly on iPad. Have you try delete VPN profile and re-add it again?
My iPad and iPhone is working fine now with @jtrott trick.
@bankjaneo Connect time in ZT status increases but No [VPN] symbol, and it's not network connection.
I've tried deleting and re-adding. I've even tried creating a new ZT network and joining that. Occasionally it connects fully but mostly it doesn't.
Last lines of my flow rules are;
accept;
This is a serious bug because a newly created network by default doesn't work and need the dirty fix of @jtrott to work.
@darkorigins does the iPad get the IP from ZT network? If yes, have you try pinging between two other devices that are not iPad? What鈥檚 the result?
My flow rule is default one except added a space on the line 23 then save.
@bankjaneo Yes the iPad gets the network name, ip address, etc just not the network layer. So ping to/from iPad/Server does nothing. Ping between two Ubuntu servers on the same ZT network is fine.
The flow rules I'm looking at currently are a copy'n'paste from a new network, empty line on lines 23,32,43,46. Where an empty line is completely empty, no spaces of other invisible chars.
After some more digging this appears to be based around our use of 'custom dns servers' in the config. If I re-create the network on the client without using custom dns it does eventually connect (anywhere from 30sec to 3mins to get [VPN]). Tested with and without 'allow default route'. As soon as custom dns servers are set it fails to connect.
Not certain if it pertains to the same issue, as I am running my own network controller, but I seem to be experiencing this issue at random also.
Closing because the original issue is gone
for the iOS / DNS issue see #800 and #901
Most helpful comment
Add a space to the flow rules then save. Seems to work around the issue.