Community discussions

MikroTik App
 
dcavni
Member Candidate
Member Candidate
Topic Author
Posts: 194
Joined: Sun Mar 31, 2013 6:02 pm

Can i change Zerotier port number?

Sun Jan 05, 2025 7:16 pm

Can i change Zerotier port number (from default 9993) if this port is blocked somewhere upstream?

Thank you
 
erlinden
Forum Guru
Forum Guru
Posts: 2732
Joined: Wed Jun 12, 2013 1:59 pm
Location: Netherlands

Re: Can i change Zerotier port number?

Sun Jan 05, 2025 7:21 pm

There is documentation:
https://help.mikrotik.com/docs/spaces/R ... Parameters

If I may ask: why ZeroTier?
 
dcavni
Member Candidate
Member Candidate
Topic Author
Posts: 194
Joined: Sun Mar 31, 2013 6:02 pm

Re: Can i change Zerotier port number?

Sun Jan 05, 2025 7:25 pm

I already read documentation. And it states that it listens on port 9993. So if i change this port, will Zerotier still work?

Why zerotier? Easier acess to devices behind NAT. Also EoIP works quite nice over it.
 
User avatar
Amm0
Forum Guru
Forum Guru
Posts: 4441
Joined: Sun May 01, 2016 7:12 pm
Location: California
Contact:

Re: Can i change Zerotier port number?

Sun Jan 05, 2025 7:46 pm

You can if you want... it's on the "zt1" instances, so it applies to all connect ZT networks that use the instance. Theoretically, changing the default likely make ZT hole punching scheme go through an extra step internally, but cannot imagine it be significant.
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 22202
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Can i change Zerotier port number?

Sun Jan 05, 2025 7:55 pm

It would appear the zerotier network assumes default port number which does not appear changeable as that may be set on zerotier servers??
However they also communicate on two other ports, a random high number port based somewhat on zerotier address and also another high random port number if you permit
UPNP or NAT-PMP.

https://docs.zerotier.com/routertips
 
dcavni
Member Candidate
Member Candidate
Topic Author
Posts: 194
Joined: Sun Mar 31, 2013 6:02 pm

Re: Can i change Zerotier port number?

Sun Jan 05, 2025 9:31 pm

Ok, i will see if it still works in censorship oriented countries. If not, i will change the port number and see if it makes any difference at all.

Thank you