RustDesk logo

RustDesk

✓ Verified FOSSAGPL-3.0
Top open-source alternative to TeamViewer / AnyDesk

An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.

Tech StackRust, Flutter, WebRTC
Self-Host DifficultyEasy
License ModelAGPL-3.0
GitHub Repositoryrustdesk/rustdesk

Recommended VPS & Hardware Sizing

Estimated Hosting: $4 - $6/mo (e.g. Hetzner CX22 or DigitalOcean)
Min RAM:1 GB
Rec RAM:2 GB
Compute:1 vCPU
Disk Space:10 GB SSD

RustDesk vs TeamViewer / AnyDesk Comparison Matrix

Evaluation CriteriaRustDesk (Open Source)TeamViewer / AnyDesk (Proprietary)
Commercial Use FlagsZero restrictions; unlimited commercial IT useBlocks sessions with 'Commercial Use Suspected'
Annual Cost$0 software license; $5/mo VPS relay$622.80/year for TeamViewer Single User
INTERACTIVE TCO MODELEstimated Rate: $38/user/mo

Financial Impact: Migrating from TeamViewer / AnyDesk to Self-Hosted RustDesk

Detailed Stack Calculator →
5 Users (Early Startup)50 Users (Scaleup)200 Users (Enterprise Org)
TeamViewer / AnyDesk (Cloud SaaS)Per-Seat Tax
$11,400per year ($950/mo)
3-Year Spend:$34,200

* Excludes enterprise SSO add-ons & usage overages

RustDesk (Self-Hosted)Zero Per-Seat Fee
$120per year ($10/mo Linux VPS)
3-Year Compute:$360

* Commodity Hetzner / DigitalOcean compute instance

Cumulative 3-Year ROI+$33,840Net savings across 36 months (99% reduction)
Annual Free Cash:+$11,280/yr
Need C-Level Buy-In? Generate an instant ROI proposal memo to present to your CTO or CFO.

Core Capabilities & Features

✓End-to-End Encryption (E2EE) with Ed25519 public-key cryptography
✓Direct P2P UDP connection with fallback to self-hosted relay
✓Cross-platform support for Windows, macOS, Linux, Android, iOS
✓Remote file transfer, audio streaming, and multi-monitor switching

Self-Host RustDesk with Docker Compose

Tweak configuration ports, secrets, and volumes live. Download or copy your ready-to-run container file:

1-Click Docker Compose Generator

Generate production-ready container definitions with customizable ports and volumes.

RustDeskAGPL-3.0

An open-source remote desktop alternative to TeamViewer and AnyDesk written in Rust

Difficulty: Easy125,621 ⭐
Configure Parameters
docker-compose.rustdesk.yml
version: '3'

networks:
  rustdesk-net:
    external: false

services:
  hbbs:
    container_name: hbbs
    ports:
      - 21115:21115
      - 21116:21116
      - 21116:21116/udp
      - 21118:21118
    image: rustdesk/rustdesk-server:latest
    command: hbbs -r ${SERVER_IP_OR_DOMAIN:-127.0.0.1}:21117 -k _
    volumes:
      - ./data:/root
    networks:
      - rustdesk-net
    restart: unless-stopped

  hbbr:
    container_name: hbbr
    ports:
      - 21117:21117
      - 21119:21119
    image: rustdesk/rustdesk-server:latest
    command: hbbr -k _
    volumes:
      - ./data:/root
    networks:
      - rustdesk-net
    restart: unless-stopped

Frequently Asked Questions: Self-Hosting RustDesk

How do I self-host RustDesk using Docker Compose?

You can deploy RustDesk (rustdesk/rustdesk) on any Linux server by copying the docker-compose.yml template on this page, configuring your desired host port and persistent volume directory, and running 'docker compose up -d'.

How does RustDesk compare to TeamViewer / AnyDesk?

RustDesk is an open-source, self-hosted alternative to TeamViewer / AnyDesk built with Rust, Flutter, WebRTC. Unlike TeamViewer / AnyDesk ($24.90 - $51.90 / tech / month), RustDesk has zero per-user licensing fees and keeps 100% of your data on your own infrastructure.

What are the minimum VPS RAM and CPU requirements for RustDesk?

For production self-hosting (Easy difficulty tier), we recommend at least 2 GB RAM (minimum 1 GB), 1 vCPU, and 10 GB SSD storage, which typically costs $4 - $6/mo (e.g. Hetzner CX22 or DigitalOcean).

Is RustDesk free for commercial business use under the AGPL-3.0 license?

Yes. Distributed under the AGPL-3.0 license, RustDesk can be self-hosted internally by businesses and engineering teams of any size without per-seat royalties.

README INTEGRATION // REPO EMBED

Embed Official RustDesk Badge in GitHub README

Served locally from OSSMatrix with Cloudflare global edge caching. Real-time verified alternative status, zero third-party dependencies, sub-5ms load time.

Live Preview:RustDesk Badge
Markdown Embed (GitHub / GitLab)
[![OSSMatrix Alternative](https://ossmatrix.com/api/badge/rustdesk)](https://ossmatrix.com/project/rustdesk)
HTML Embed (Docs / Landing Pages)
<a href="https://ossmatrix.com/project/rustdesk" target="_blank" rel="noopener noreferrer"><img src="https://ossmatrix.com/api/badge/rustdesk" alt="RustDesk on OSSMatrix" /></a>
SIMILAR REPOSITORIES // PEER COMPARISON

Compare RustDesk with Other Self-Hosted Alternatives

All TeamViewer / AnyDesk Alternatives →