key-networks / ztncui-containerized

A Docker image that contains ZeroTier One and ztncui to set up a standalone ZeroTier network controller with a web user interface in a container.
426 stars 83 forks source link

can't ping each other #25

Open Y-pandaman opened 2 years ago

Y-pandaman commented 2 years ago

Hello, I created a new network and joined it on two computers (Ubuntu 18 and windows 10) and assigned IPs, but I can't ping each other and peer status shows OFFLINE. image

ncheng89 commented 2 years ago
  1. The peer address cannot be displayed
  2. The status is also always showing offline status, but it is actually online
jradxl commented 2 years ago

Yes, I found this too... It is necessary to tell EACH Client that your Docker image is a Moon

Use this https://docs.zerotier.com/zerotier/moons

And at end of this document, when you run:-

zerotier-cli orbit XXXX XXXX

they will become ONLINE

for me it was a brain challenge to get this far!!

And if you then open 9993/udp,on your server, your listpeers entry for the Moon will go from RELAY to DIRECT!!!

Note: If I understand the documentation correctly, it is not possible to remove the PLANETS (unless you are a paying customer) If one removes "/var/lib/zerotier-one/planet", it's just recreated on next execution!

kmahyyg commented 2 years ago

oh my gosh.

This project is not intended for moon usage. It is used to replace the whole planet and self-hosting all the stuffs which let infrastructure from ZT official completely out. And also, this problem mostly ONLY occurs on heavy censored network like China Mainland.

Make sure you understand what you are doing before you proceed.