Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
R

rustdesk-server

> 编程语言
Open source

RustDesk Server Program

10.2K stars0 likes5 views
WebsiteGitHub

About

RustDesk Server Program

RustDesk Server Program

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

bash
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:

Option Flag Env var Applies to Purpose
Key -k KEY hbbs, hbbr hbbs loads/generates one by default
Bind address -b BIND hbbs, hbbr Local IP address to listen on (default: all interfaces; requires 1.1.17+)
Port -p PORT hbbs, hbbr Listening port (hbbs 21116, hbbr 21117)
Relay servers -r RELAY-SERVERS hbbs Override when the relay uses a different address or a non-standard port
Force relay — ALWAYS_USE_RELAY hbbs Y disables direct connections
Log level — RUST_LOG hbbs, hbbr e.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

Issues· 182 open

View all issuesOpen on GitHub
  • #301

    Very low fps

    bugUpdated Sep 27, 2026
  • #709

    Upgrade rendezvous KeyExchange to a v1-style transcript-bound key derivation

    Updated Sep 26, 2026
  • #708

    hbbr: relay legs arriving together are never paired (race in make_pair_)

    bugUpdated Sep 26, 2026
  • #394

    Proof of concept: rustdesk_server tcp only handshake / secured tcp stream

    enhancementUpdated Sep 18, 2026
  • #678

    End-to-end encryption verification fails when connecting through RustDesk OSS server

    bugUpdated Sep 16, 2026
  • #93

    External database

    enhancementUpdated Sep 13, 2026
  • #704

    WebSocket connection (port 21118/21119) is unilaterally closed after exactly ~30 seconds of idle time, even with no reverse proxy involved

    bugUpdated Sep 7, 2026
  • #701

    GitHub release - Source code assets are missing /libs/hbb_common submodule

    bugUpdated Aug 29, 2026
  • #677

    Relay server not used despite ALWAYS_USE_RELAY=Y, and clients cannot connect when UDP port 21116 is blocked

    bugUpdated Aug 25, 2026
  • #611

    Client constantly tries to conenct to port 21114/tcp

    bugUpdated Jul 20, 2026

> Tags

Rustremote-accessremote-controlremote-desktoptauri

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 29, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言