Zerotier-cli peers - win to win direct, linux to win relay

Hi! I’m new to ZeroTier, and I’m encountering a problem I don’t fully understand.

My friend and I are trying to play a game together via ZeroTier. I created a network and joined it with both my Linux server and my Windows PC. My friend also joined the network with his Windows PC.

Here’s the issue:

When he tries to connect to the game on my Linux server, his connection status shows as “RELAY,” resulting in terrible ping. However, when I host the game on my Windows PC, both his and my connections are marked as “DIRECT,” which works fine. I’m confused because my Linux server and Windows PC are on the same local network.

Could someone explain why this difference is happening and how to resolve it?

I’ve also attached a screenshot of the consoles. The left console is from the Linux server, and the right one is from my Windows PC. My friend’s device is the one with a “1” at the end (4th row on the left console from the Linux server, and 3rd row on the right from my Windows PC).

Thanks in advance for any help!

I was able to fix this issue.

The problem was in linux firewall where I had to enable UDP 9993 for ZeroTier. Now its working perfect!

1 Like

Okay, so the solution worked well, but after two days, out of nowhere, I shut down the server, and now it’s back to RELAY. :frowning: I had shut it down before and it was still working, so I have no clue why the RELAY problem is happening again.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.