Self-hosting

RustDesk Server: Self-Hosting with OSS or Pro

Reviewed November 30, 2026Independent reference, not the official RustDesk siteReport a correction

A RustDesk server is the software you run yourself so clients register with your ID service and fall back to your relay, instead of using the project’s public infrastructure. The open-source edition is the hbbs rendezvous process plus the hbbr relay. RustDesk Server Pro is a separate commercial build of that same job, with a web console, an API, and account controls. rasdesc.com does not host either one.

This is an independent reference. It is not rustdesk.com, which the publisher states is its only official domain. Downloads and licenses stay on the publisher’s site and the rustdesk GitHub organization.

What the server actually does

You run a RustDesk server when the default client already works on the public network and you want that same remote path on hardware you operate. The client still handles viewing, file transfer, chat, clipboard, audio, and recording. The server does not replace it. It only answers how two authorized clients find each other and where traffic goes when a direct path will not open.

hbbs is the ID and rendezvous service. Each client registers there, sends heartbeats, and asks for help punching a hole through NAT. hbbr is the relay. Documentation says hole punching succeeds in the majority of cases, so many sessions never sit on the relay for their media. When punching fails, traffic uses hbbr. A direct session’s media then runs between the two endpoints. Putting the server in a particular country does not, by itself, prove GDPR, HIPAA, or ISO compliance.

A self-hosted deployment is for computers you own or are allowed to administer. It is not a way to open a machine that belongs to someone else, to hide a session, or to skip the host’s password or approval click. If a stranger tells someone to install RustDesk and read an ID or one-time password aloud, that is a common remote-access scam. Hang up.

Open-source server and Server Pro

The open-source server repository is rustdesk/rustdesk-server. It is AGPL-licensed. There is no license fee. You still supply the host, bandwidth, backups, patching, and monitoring. The client, including the mobile clients, is a separate AGPL project. Server Pro is commercial self-hosted software. Do not describe the Pro source as AGPL. The publisher’s Pro documentation is the Server Pro self-host guide.

QuestionServer OSSServer Pro
License fee$0. You pay for the machine and the network.Annual self-hosted license, not a SaaS subscription and not auto-renew.
Processeshbbs and hbbrThe same rendezvous and relay roles, plus console and API services.
AccountsNone. Clients share an ID server address and a public key.Web console for users, devices, permissions, strategies, and licenses.
License checkNo Pro license check.Periodic validation over outbound HTTPS. A permanently air-gapped Pro install is not the standard supported model.
Web console portNot used.TCP 21114, unless you publish the console through HTTPS on 443.

Pricing reviewed on November 30, 2026 lists the open-source server at $0, Individual at $11.88 per month billed annually, and Basic, Customized, and Customized V2 at $23.88 per month billed annually. Customized plans add per-user and per-device charges, and Customized V2 also prices extra concurrent connections. Included quantities change, so read the pricing page before you buy. Paid plans include customer support according to the pricing FAQ. Trial licenses go through [email protected]. There is no monthly plan. At the time of that review there was no nonprofit or education discount; the free plan is the suggestion. A renewal reminder goes out 14 days before expiry.

Docs name these Pro capabilities: web console, API, OIDC, LDAP, 2FA, address book, logs, device management, security-settings sync, access control, multiple relays, a custom client generator, WebSocket, and a self-hosted web client. LDAP/AD, OIDC SSO, and the custom-branded client generator are described as available from the Basic plan. The console documentation says the Individual plan does not include creating an additional user other than the default admin. The web client, which is a browser session, is a different product surface from the web console, and it requires a plan satisfying (users × 10) + devices ≥ 400. The custom-client generator uses a RustDesk-operated build service, so self-hosting does not remove every external dependency.

Who this fits

The publisher’s homepage, when reviewed, said the project had 113K+ GitHub stars and quoted an online survey of over 1,000 self-hosting users: 37% IT support, 25% IT administration, 29% remote work, and 9% industrial and others. Those are the publisher’s statements, not an independent audit. They do line up with the practical split. A household can stay on the public servers. A team that must name the operator of the rendezvous path, keep relay bandwidth on its own uplink, or attach accounts and logs, is the audience for a server it runs.

Standard plans (Individual, Basic, and Customized) include unlimited concurrent connections. Customized V2 licenses concurrent connections. A concurrent connection is an active controlling device or channel, not each session tab. Excess unassigned devices on Customized V2 are not disabled the way standard plans count them. None of that changes the rule that every session is an authorized administration task.

Prerequisites

You need a host you control, a public DNS name or a stable address your clients can resolve, and a firewall you can edit. Native clients need TCP 21115 through 21117 and UDP 21116 reachable. Pro adds the console on TCP 21114 if you are not terminating it on HTTPS. TCP 21118 and 21119 belong to the web client. Leave them closed unless a reverse proxy is the only client of those ports. hbbs and hbbr trust X-Real-IP and X-Forwarded-For on that WebSocket path, and those headers are not validated.

Pro also needs outbound HTTPS so the license check can run. OSS does not. Both editions need a place to store the key that hbbs writes on first start. Clients will ask for the ID server, the key from id_ed25519.pub, an optional relay (inferred on port 21117 if you leave it blank), and, for Pro login and the console, an API server value. The API server value is separate from the license key. The public key is also separate from the license key.

Install the client from an official release on every computer that will connect. The download page points at GitHub releases and the iOS App Store listing. This site does not host installers.

Supported environment

The documented container path is Docker on Linux, using host networking so hbbs and hbbr see the real client address. Docker Desktop on Windows and macOS does not treat --net=host the same way. The official Docker page says to remove host networking when it causes trouble. ARM hosts, including a Raspberry Pi used for a small deployment, can run the image or the release binaries. A Pi is a poor fit for many simultaneous relays. There is no official TrueNAS catalog app verified in the RustDesk docs reviewed for this guide. The practical route there is Compose in a virtual machine or a custom app that can run Docker.

Clients in the current docs cover Windows, macOS, Debian derivatives (Ubuntu 16 and later), Red Hat derivatives (CentOS, Fedora 18 and later, Rocky), Arch and Manjaro, openSUSE, NixOS, AppImage and Flatpak, Android, iOS as a controller only, and the web client on a qualifying Pro plan. iOS cannot be a RustDesk host.

Shortest official start

The homepage quick start, reviewed with the facts for this guide, is to install Docker, download a compose file, and start it. One file is the open-source stack. The other is Pro. Read the file after it lands on disk, then start it.

wget rustdesk.com/oss.yml -O compose.yml
docker compose up -d

For Pro, the publisher uses pro.yml in the same pattern:

wget rustdesk.com/pro.yml -O compose.yml
docker compose up -d

The publisher’s homepage also presents a quick start that pipes a remote shell script into a shell. That is their shortcut, not a requirement. Download the script and read it before you run it. A compose file you can open in an editor is the clearer record of what will start. The hands-on sequence, the key file, and the client fields are on the setup page. Container details are on the Docker page.

What you should see

After hbbs starts the first time, the data directory contains id_ed25519.pub. That file is the public key you paste into every client that should use this server. The matching private key stays on the server. You do not send it to clients, and you do not treat it as the Pro license.

A client pointed at the right ID server and key should leave the failure state and show Ready, which means it reached hbbs. A client that cannot reach the ID server stays on “Not ready, please check your connection.” On the public infrastructure, a fresh client can show Ready together with a prompt to set up your own server. That prompt is about the public service. It disappears from the decision once you have entered your own ID server.

On Pro, a browser request to the console port should reach the admin site. That site is TCP 21114 unless you have placed it behind HTTPS. It is not the web client, and it is not a consumer account you create on rustdesk.com for ordinary remote desktop use.

Troubleshooting

Work from the client status inward. “Not ready, please check your connection” means the ID server is unreachable or the path to it failed. Check DNS, the firewall, the host name you typed, TCP and UDP 21116, clock sync, a mismatched key, and whether the process is actually running. On Docker, docker logs hbbs is the documented way to read the ID service after a detached start. There is no independently confirmed public status dashboard in this guide. Test the server you run.

If clients register but sessions stall, confirm TCP 21117 to hbbr and read the port map before opening extra ports. TCP 21115 is the NAT type test. Closing it makes some networks harder to classify. Opening 21118 and 21119 “just in case” is the wrong extra step when you have no web client.

Security notes

Documentation describes peer-to-peer end-to-end encryption based on NaCl for the normal ID-based connection model. Encrypted self-hosted use requires the public key from id_ed25519.pub. Direct IP access is a different mode, off by default, and the project’s machine-readable guide says the FAQ documents that path as unencrypted. Leave it off unless you have a reason and a protected network. An ID whitelist is not authentication, because the connecting client reports the ID. Passwords, an approval click, and Pro account controls are the gates.

Keep 21118 and 21119 closed unless a reverse proxy is the only system allowed to connect to them. Forged forwarding headers can spoof client addresses, which undermines IP rate limits and the addresses written to logs. Minimum exposure for native clients remains TCP 21115–21117 and UDP 21116. The architecture page explains hole punching and relay without treating server location as a compliance certificate. Account and header questions that affect the console are covered with the security notes.

Frequently Asked Questions

Is a RustDesk server the same as the RustDesk client?

No. The client is the remote desktop app. The server is hbbs and hbbr, the ID and relay services those clients use. You install the client on the computers. You run the server on a host you administer.

Do I have to leave the public servers?

No. A fresh client uses the public ID and relay and can show Ready. Self-hosting replaces that infrastructure when you want to operate it yourself. Both choices still require an authorized session on the host computer.

Does the open-source server include the web console?

No. The web console, API, and user accounts are Server Pro. OSS has no Pro license check and no admin site on TCP 21114.

Does self-hosting make the deployment compliant?

No. Where you place hbbs and hbbr does not by itself prove GDPR, HIPAA, or ISO compliance. Direct media still travels between the endpoints when hole punching works, and Pro still checks its license over outbound HTTPS.