Four open UDP ports


#1

I am running syncthing on a router and want to understand what ports it is using. I read that it needs one TCP and one UDP ports. The TCP portion is fine: it is listening on a single port on each interface I bound it to. At the same time I see syncthing on two UDP ports: one that I configured and the other one is random and is changing every time it restarts. Any idea what the second random port it is using and why?

Port 27948 is configured; the other ports are random.

udp 0 0 0.0.0.0:27948 0.0.0.0:* 13813/syncthing udp 0 0 0.0.0.0:35295 0.0.0.0:* 13813/syncthing udp 0 0 :::27948 :::* 13813/syncthing udp 0 0 :::50834 :::* 13813/syncthing


(Jakob Borg) #2

IPv4 and IPv6 discovery. One socket for receiving, a separate for sending (because reasons).


#3

Thx; Is there a way to make synchting listen for UDP announce messages on a specific set of interfaces/IPs only?


(Jakob Borg) #4

I don’t think so.


(system) #5

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