What is RustDesk?
RustDesk is an open-source remote desktop application written in Rust. It lets you control another computer, transfer files and give remote support, much like TeamViewer or AnyDesk, but you can run the server that connects the devices yourself.
What does a self-hosted RustDesk server do?
It replaces the public RustDesk servers. The ID server (hbbs) registers each device and brokers connections, and the relay server (hbbr) carries the session when two devices cannot reach each other directly. With your own server, connection data stays on infrastructure you control.
Is RustDesk free for commercial use?
Yes. The RustDesk client and the open-source server are free under the AGPL licence, including for business use. RustDesk Server Pro is an optional paid product that adds centralised management, an address book, LDAP and SSO. On AWS or Google Cloud you pay for the server itself, plus any Meetrix software fee shown on the marketplace listing.
What are the RustDesk server requirements?
A small VM is enough for a small team: we recommend t3a.micro on AWS and e2-small (2 vCPU, 2 GB RAM) with a 20 GB disk on Google Cloud. Move to a larger machine type as the number of concurrent sessions grows.
Which ports does a RustDesk server need?
The ID server (hbbs) uses TCP 21115, 21116 and 21118 and UDP 21116. The relay server (hbbr) uses TCP 21117 and 21119. Open TCP 22 as well if you want to SSH into the server.
Do I need to create a RustDesk account?
No. Each device gets an ID and a one-time password, and you connect with those. Accounts and shared address books are features of RustDesk Server Pro, not the open-source server.
How do I connect the RustDesk client to my own server?
In the RustDesk client, open Settings → Network → ID/Relay server and enter your server IP. On Google Cloud, also enter it as the relay server and paste the server public key from /opt/rustdesk/data/id_ed25519.pub. Repeat this on every device that should use your server.
Is RustDesk a good TeamViewer or AnyDesk alternative?
For teams that want to own their remote access, yes. TeamViewer has no self-hosted option, and AnyDesk offers one only in its Enterprise tier. RustDesk gives you a free self-hosted server and open source code. Our RustDesk vs TeamViewer vs AnyDesk comparison covers pricing and features in detail.