Cloud VPS from $1.98/mo · pay with Bitcoin, Ethereum, Monero, USDT or Solana · paid in crypto

RustDesk on a VPS

RustDesk is an open-source remote desktop tool. On a server you run its ID and relay services, so your devices connect through infrastructure you control.

512 MBMinimum memory
Ubuntu 24.04 LTSBase image
21115/tcp, 21116/tcp, 21117/tcpPorts
AGPL-3.0License

About RustDesk

RustDesk is an AGPL-3.0 remote desktop application, an open alternative to TeamViewer, with desktop and mobile clients. Its server has two parts: hbbs brokers connections as the ID and signaling server, and hbbr relays traffic when devices cannot connect directly.

Hosting both on a CloudSat VPS keeps sessions off the public servers, and RustDesk's docs say the smallest cloud server is enough. Relayed sessions use roughly 30 KB/s to 3 MB/s at 1080p, which counts toward the plan's monthly transfer.

The services listen on ports 21115 to 21117, with 21118 and 21119 reserved for the web client.

What you get with RustDesk

  • ID and signaling server (hbbs)
  • Relay for sessions that cannot go direct (hbbr)
  • Key pinning so clients trust only your server
  • Optional WebSocket ports for the web client

RustDesk use cases

  • Support family or customers without a third-party relay
  • Reach your own machines from anywhere through your own ID server
  • Keep a small company's remote sessions on its own infrastructure

After you deploy RustDesk

  1. With Running showing in the console, open SSH and copy the public key from id_ed25519.pub in the hbbs data folder.
  2. In each client, open Settings > Network > ID/Relay server, enter the server's IP or domain as ID server and paste the Key.
  3. Open 21115 to 21117 over TCP and 21116 over UDP in a CloudSat firewall; open 21118 and 21119 only for the web client.

RustDesk ports

Open these in your firewall if you use one: 21115/tcp NAT type test (hbbs), 21116/tcp and udp ID server (hbbs), 21117/tcp Relay (hbbr), 21118-21119/tcp Web client (optional).

RustDesk FAQ

Do clients need any changes?

Yes. Each client must point at your ID server and carry its public key, or it will not trust the server. Leave the relay field empty and the client finds hbbr on the same host.

What does RustDesk Server Pro add?

Pro is a paid edition with a web console, user and device management and an API server; the open-source server covers ID and relay only.

Disclaimer. The RustDesk project has no affiliation with CloudSat and does not endorse it. Names and logos belong to their owners and appear only to identify the software.

RustDesk on your own server.
Ready in under 5 minutes.

Pick a region and a size; the console shows the address as soon as it is up.

Every server delivered in under 5 minutesPay with crypto14-day money-back