rustdesk-server icon indicating copy to clipboard operation
rustdesk-server copied to clipboard

What is the function of server and relay?

Open elfzweik opened this issue 3 years ago • 2 comments

I read the document but cannot get the point what the function of both servers are? It results the setting of relay and rendezvous server. For example, the remote is in China, say Shanghai, the local is in USA. And I have 3 VPS which can be used as rendezvous and relay servers. Say, there are each VPS located in USA, Japan and Shanghai. The question is which VPS shall be used as rendezvous server? The closest to the local or to the remote? Where should the relay be located? Close to local, remote, or the rendezvous server?

elfzweik avatar Mar 12 '22 03:03 elfzweik

You may have to modify rustdesk-server to satisfy your scenario for the time being.

rustdesk avatar May 20 '22 14:05 rustdesk

If I understood this correctly, when multiple servers are specified (via command line) to hbbs, the daemon will select each server in a round-robin fashion. Which is obviously not perfect, if you have clients all around the world. The round-robin solution is ok for most use cases, in fact most installation will have only one relay, on the same machine.

paspo avatar Aug 08 '22 10:08 paspo