rustdesk/rustdesk-server

RustDesk Server Program

10,396

stars

328

commits

Rust

primary language

Aug 7, 2026

updated

rustdesk.com/server
remote-access
remote-control
remote-desktop
tauri

README

RustDesk Server Program

build

Download

Manual

Configuration & environment variables

FAQ

How to migrate OSS to Pro

Self-host your own RustDesk server, it is free and open source.

[!IMPORTANT] Need more features? RustDesk Server Pro might suit you better.

Want to develop your own server? Start with rustdesk-server-demo, a simpler starting point than this repository.

How to build manually

cargo build --release

Three executables will be generated in target/release.

  • hbbs - RustDesk ID/Rendezvous server
  • hbbr - RustDesk relay server
  • rustdesk-utils - RustDesk CLI utilities

You can find updated binaries on the Releases page.

Configuration

hbbs and hbbr can be configured with command-line flags, environment variables, or an .env / config file. Run hbbs --help or hbbr --help to see the available flags.

The most common options:

OptionFlagEnv varApplies toPurpose
Key-kKEYhbbs, hbbrhbbs loads/generates one by default
Bind address-bBINDhbbs, hbbrLocal IP address to listen on (default: all interfaces; requires 1.1.17+)
Port-pPORThbbs, hbbrListening port (hbbs 21116, hbbr 21117)
Relay servers-rRELAY-SERVERShbbsOverride when the relay uses a different address or a non-standard port
Force relayALWAYS_USE_RELAYhbbsY disables direct connections
Log levelRUST_LOGhbbs, hbbre.g. debug (default info)

See docs/environment-variables.md for the full list of variables, the file/flag/env precedence rules, database and relay bandwidth tuning, Docker image variables, and examples.

Installation

Please follow this doc

Contributors

(top 30 of 37)

rustdesk

210 commits

paspo

45 commits

n-connect

15 commits

xlionjuan

8 commits

rustdesk/rustdesk-server

RustDesk Server Program

10,396

stars

328

commits

Rust

primary language

Aug 7, 2026

updated

rustdesk.com/server
remote-access
remote-control
remote-desktop
tauri

README

RustDesk Server Program

build

Download

Manual

Configuration & environment variables

FAQ

How to migrate OSS to Pro

Self-host your own RustDesk server, it is free and open source.

[!IMPORTANT] Need more features? RustDesk Server Pro might suit you better.

Want to develop your own server? Start with rustdesk-server-demo, a simpler starting point than this repository.

How to build manually

cargo build --release

Three executables will be generated in target/release.

  • hbbs - RustDesk ID/Rendezvous server
  • hbbr - RustDesk relay server
  • rustdesk-utils - RustDesk CLI utilities

You can find updated binaries on the Releases page.

Configuration

hbbs and hbbr can be configured with command-line flags, environment variables, or an .env / config file. Run hbbs --help or hbbr --help to see the available flags.

The most common options:

OptionFlagEnv varApplies toPurpose
Key-kKEYhbbs, hbbrhbbs loads/generates one by default
Bind address-bBINDhbbs, hbbrLocal IP address to listen on (default: all interfaces; requires 1.1.17+)
Port-pPORThbbs, hbbrListening port (hbbs 21116, hbbr 21117)
Relay servers-rRELAY-SERVERShbbsOverride when the relay uses a different address or a non-standard port
Force relayALWAYS_USE_RELAYhbbsY disables direct connections
Log levelRUST_LOGhbbs, hbbre.g. debug (default info)

See docs/environment-variables.md for the full list of variables, the file/flag/env precedence rules, database and relay bandwidth tuning, Docker image variables, and examples.

Installation

Please follow this doc

Contributors

(top 30 of 37)

rustdesk

210 commits

paspo

45 commits

n-connect

15 commits

xlionjuan

8 commits

Languages

Rust

87.2%

NSIS

4.3%

JavaScript

3.6%

Shell

3.4%