
RustDesk
Open-source remote desktop software
Deploy RustDesk in 3 Steps
Connect Your VPS
Add your server credentials to Server Compass
Select RustDesk
Choose from our template library
Deploy & Configure
Fill in settings and click Deploy
Set Up RustDesk from Terminal
Get your hands dirty: manual RustDesk deployment guide for developers.
Remote into Your Server
Initiate a secure shell connection to your server using the command below.
# Connect to your VPS
ssh root@your-server-ip
# Or with a specific SSH key
ssh -i ~/.ssh/your-key root@your-server-ipFirst time? Docker required! Install it with: curl -fsSL https://get.docker.com | sh
Create the App Directory
Organize your deployment by creating a dedicated project folder.
# Create and navigate to project directory
mkdir -p ~/apps/rustdesk
cd ~/apps/rustdeskWrite Your docker-compose.yml
Create a new docker-compose.yml file and paste this configuration:
services:
hbbs:
image: rustdesk/rustdesk-server:latest
command: hbbs
ports:
- "21115:21115"
- "21116:21116"
- "21116:21116/udp"
- "21118:21118"
volumes:
- rustdesk_data:/root
restart: unless-stopped
hbbr:
image: rustdesk/rustdesk-server:latest
command: hbbr
ports:
- "21117:21117"
- "21119:21119"
volumes:
- rustdesk_data:/root
restart: unless-stopped
volumes:
rustdesk_data:
PORTID server port(default: 21115)Launch the Containers
Start the services and tail the logs to verify startup.
# Spin up containers
docker compose up -d
# Verify deployment
docker compose ps
# Check logs for errors
docker compose logs -fOpen Firewall Ports
Open the required port in your firewall to allow access.
# Allow the application port through firewall
sudo ufw allow 21115/tcp
sudo ufw reload
# Access your app at:
# http://your-server-ip:21115Want the easy way? Try Server Compass.
Why type commands when you can click? Deploy RustDesk the easy way with Server Compass.
- Visual config editor
- Instant deployment
- Automatic HTTPS
- Smooth updates
- Live monitoring
- Quick rollbacks
After Deployment
After deploying RustDesk with Server Compass, complete these steps to finish setup
Get public key from logs
Configure RustDesk clients
Need help? Check out our documentation for detailed guides.
RustDesk FAQ
Common questions about self-hosting RustDesk
How do I deploy RustDesk with Server Compass?
Simply download Server Compass, connect to your VPS, and select RustDesk from the templates list. Fill in the required configuration and click Deploy. The entire process takes under 3 minutes.
What are the system requirements for RustDesk?
RustDesk requires a minimum of 256MB RAM. We recommend a VPS with at least 1024MB RAM for optimal performance. Any modern Linux server with Docker support will work.
Can I migrate my existing RustDesk data?
Yes! Server Compass provides volume mapping that allows you to import existing data. You can also use standard RustDesk backup and restore procedures.
How do I update RustDesk to the latest version?
Server Compass makes updates easy. Simply click the Update button in your deployment dashboard, and the latest RustDesk image will be pulled and deployed with zero downtime.
Is RustDesk free to self-host?
RustDesk is open-source software. You only pay for your VPS hosting (typically $5-20/month) and optionally Server Compass ($29 one-time). No subscription fees or per-seat pricing.
Related Templates
View all Development
PocketBase
Open-source backend in a single file with realtime database, auth, and file storage

Appwrite
Open-source backend-as-a-service - self-hosted Firebase alternative

Parse Server
Open-source backend framework with dashboard

Supabase
Full Supabase self-hosted with Kong, GoTrue Auth, Realtime, and Studio
Ready to Self-Host RustDesk?
Download Server Compass and deploy RustDesk to your VPS in under 3 minutes. No Docker expertise required.
Download Server Compass