The ID/Rendezvous service plays a critical role in facilitating peer-to-peer connections between remote desktop clients and hosts.
By default, this service listens on 21115 (TCP) and 21116 (TCP/UDP), 21118 (TCP).
When a RustDesk client (viewer) wants to connect to a RustDesk host (remote computer), it needs to discover the host's availability on the internet.
RustDesk ID/Rendezvous helps with this peer discovery process.
The client sends a request to the Rendezvous server to find the host's availability, and the Rendezvous server responds with the host's ID and connection details.
Once the client knows the host's ID and connection details, it establishes a direct peer-to-peer connection with the host.
The connection is made directly between the client and the host, without any intermediate servers or relay points.
This peer-to-peer connection allows for faster and more efficient data transfer during the remote desktop session.
The service handles Network Address Translation (NAT) traversal, enabling clients and hosts behind NAT routers to communicate with each other.
NAT traversal is essential for establishing direct connections between devices that are not directly accessible from the public internet.
This service helps ensure secure communication between clients and hosts.
It can handle authentication and encryption to protect the data transmitted during the remote desktop session.
In many cases, both clients and hosts have dynamic IP addresses that may change over time.
The service handles the challenge of dynamic IP addressing by allowing devices to update their IP addresses with the Rendezvous server whenever they change.
This way, clients can always discover the correct IP address of the host even if it has changed.