Artica Wiki

RustDesk ID/Rendezvous service

The ID/Rendezvous service plays a critical role in facilitating peer-to-peer connections between remote desktop clients and hosts.

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).

Peer Discovery

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.

Peer-to-Peer Connection

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.

NAT Traversal:

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.

Secure Communication

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.

Dynamic IP Addresses

 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.