Self-host with Docker ยท Yantr
RustDesk Server
Self-hosted relay server for RustDesk remote desktop connections.
3
Ports
3
Notes
3
Use Cases
About
What RustDesk Server does
RustDesk Server is the self-hosted relay server for RustDesk, an open-source remote desktop application. By running your own relay, you ensure all remote desktop traffic stays on your infrastructure instead of routing through third-party servers โ giving you full control and privacy.
Install Flow
How to self-host RustDesk Server
RustDesk Server can be deployed with standard Docker Compose using the Yantr app catalog. This page collects the basic information searchers usually need first: what RustDesk Server does, which Docker image Yantr uses, default ports, deployment notes, and where to find the original compose template.
After deployment, Yantr lets you publish additional ports from the stack page using Docker-style syntax. Use 8080:8080 for a fixed host port or just 8080 to let Docker assign a random port.
Use Cases
What people run it for
- Self-host the relay server for RustDesk remote desktop so all connection traffic stays on your infrastructure.
- Provide remote access to family members or team devices without relying on TeamViewer or AnyDesk third-party servers.
- Route RustDesk connections through your own server for lower latency and full control over access.
Technical Details
Ports, image, and service metadata
Ports
| Port | Protocol | Label |
|---|---|---|
| 21115 | TCP | ID Server |
| 21118 | HTTP | Web Client |
| 21117 | TCP | Relay Server |
Docker Image
rustdesk/rustdesk-server:latest
Service Name
rustdesk-hbbs
Notes
Things to know before you deploy
- Install RustDesk clients from rustdesk.com and point them at your server.
- The hbbs container handles ID registration and hbbr handles relay โ both are required.
- The key pair is auto-generated on first run. Copy id_ed25519 and id_ed25519.pub from hbbs for persistence.
Related Apps
More tools you might pair with RustDesk Server
Page generated 2026-07-27T04:28:00.415Z