---
title: "RustDesk self-hosted server on a VPS · CloudSat"
description: "Run your own RustDesk ID and relay server on CloudSat: open-source remote desktop for Windows, macOS, Linux and mobile, through infrastructure you own."
url: https://cloudsat.io/apps/deploy-rustdesk
updated: 2026-11-18T15:52:35Z
source: CloudSat (https://cloudsat.io/). Prices in USD.
---

[Remote desktop](https://cloudsat.io/apps/category/remote-desktop-tools)

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

[Deploy RustDesk](https://dash.cloudsat.io/console/deploy?image=app%3Arustdesk&plan=cloud-1g) [All apps](https://cloudsat.io/apps)

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

## Apps like RustDesk

[All apps in Remote desktop](https://cloudsat.io/apps/category/remote-desktop-tools)

- [MeshCentral](https://cloudsat.io/apps/deploy-meshcentral): Self-hosted MeshCentral is a self-hosted remote management server: control Windows, Linux and macOS machines through agents, with desktop, terminal and files in a browser.
- [Kasm Workspaces](https://cloudsat.io/apps/deploy-kasm-workspaces): Remote desktop Kasm Workspaces streams containerized Linux desktops, browsers and apps to any web browser, with sessions you can throw away after use.
- [IceWM over XRDP](https://cloudsat.io/apps/deploy-icewm-over-xrdp): Remote desktop IceWM over XRDP gives your server a fast, minimal Linux desktop that you open with any Remote Desktop client, using very little memory.
- [Sshwifty](https://cloudsat.io/apps/deploy-sshwifty): Self-hosted Sshwifty is a web client for SSH and Telnet: open a browser, enter a host and get a terminal, with nothing to install on the computer in front of you.
- [Linux Mint](https://cloudsat.io/apps/deploy-linux-mint): Remote desktop Run a Linux Mint 22 desktop on a cloud server and connect over RDP from Windows, macOS, Linux or a tablet.
- [aaPanel](https://cloudsat.io/apps/deploy-aapanel): Control panels aaPanel is a free Linux hosting panel: one-click LNMP or LAMP, then sites, databases, FTP and SSL from a browser, with a web terminal included.
