Back to projects
DevOps & infrastructure

Self-hosted RustDesk — your own remote-access server

A fully self-hosted replacement for TeamViewer/AnyDesk: your own rendezvous/relay servers, web panel, end-to-end encryption, own domain and email. Zero third-party services, zero per-seat licensing.

## The problem

Move off TeamViewer/AnyDesk: their per-seat licensing keeps climbing, and every session flows through someone else's servers. The goal — remote access where the infrastructure and the data stay under your own control.

## The solution

A self-hosted **RustDesk** deployment on the open-source core (hbbs/hbbr):

- **Own rendezvous and relay servers** — ID registration and NAT hole-punching on your own public host, with no third-party middlemen.

- **Web panel and client API** (Node.js): sign-up, address book, device dashboard, and one-link delivery of a preconfigured client (or a config string).

- **End-to-end encryption** of sessions between clients (the server only ever sees ciphertext). A patched core additionally encrypts the signalling channel (secure_tcp) for logged-in clients — a capability the OSS build normally leaves to the paid edition.

- **Own domain, TLS and password-reset email** — all under your own zone.

## Infrastructure as code

The whole rollout is Ansible: the rendezvous/relay binaries, systemd units, web panel, TLS and firewall reproduce with a single command. Panel code ships from git as the source of truth.

## The outcome

Private remote access with no subscription fees and no traffic leaving to third-party servers. It scales to any number of devices; the data and the keys stay with the owner.