Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible bug - Clients behind same public IP use the same port. #2221

Open
momothefox opened this issue Feb 10, 2024 · 2 comments
Open

Possible bug - Clients behind same public IP use the same port. #2221

momothefox opened this issue Feb 10, 2024 · 2 comments

Comments

@momothefox
Copy link

momothefox commented Feb 10, 2024

Clients running v1.12.2 on openwrt 23.05.2

If 2 or 3 clients behind the same Public IP

on the controller sometimes it shows that 2 of the clients are reachable via the same port

communication between these 2 clients is not possible
while communication works fine for any one of them and the rest of the network

zerotier#1

Controller zerotier version: 1.12.2

Update:
One client of them is ZeroTier 1.12.2 on windows and the other two are openwrt

@laduke
Copy link
Contributor

laduke commented Feb 12, 2024

Peers will communicate over the LAN if possible.
Check zerotier-cli peers for more peering info.
I'm not sure why that wouldn't work. Maybe some kind of "client isolation" is happening on the LAN. And peering via the router/public IP isn't working either.
It would be very unlikely for two nodes to randomly select port 2048 at the same time, by the way. They are probably configured to do that in local.conf. Or those two clients are using the same zerotier identities? That work work at all. Generate a new identity on one of them.

@momothefox
Copy link
Author

devices are connected on the same switch.
and they all share the same internet connection.
zerotier#2

i will try to restart the controller service and see might change the ports.
as long as they are all using the same port.
the connection between them will never happen.

hmmm
these devices are fresh installed openwrt
and this is the 1st boot.

do you think it is related?
i don't see same identities at all.

Check zerotier-cli peers for more peering info.

ok i will do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants