Skip to content
fnpanicPublic

About

Open-source, self-hosted remote desktop and remote support for Windows and macOS. A TeamViewer/AnyDesk alternative on your own server, built on the RustDesk core.

Topics

Resources

Contributing

Security policy

Stars

14 stars

Watchers

1 watching

Forks

Repository files navigation

Tether logo

Tether

Open-source, self-hosted remote desktop and remote support.
A free alternative to TeamViewer and AnyDesk that runs on your own server, built on the RustDesk core.

Website · Try the demo · Getting started · User guide · Architecture · Changelog · Questions and feedback

Tether main window: this device's ID and one-time password, and a field to connect to a remote device

Why Tether

Tether is for IT teams and support technicians who want remote access without a vendor's cloud in the middle. You run the relay; the apps talk only to it.

  • Private. Sessions are end-to-end encrypted between the two devices, and Tether refuses unencrypted sessions. The relay forwards ciphertext. What is protected and what is not: SECURITY.md, docs/encryption.md.
  • Fast. 24–30 ms glass-to-glass at 2560×1440 and 57 fps on a GPU host, with hardware encoding and decoding. Method, numbers and a comparison with AnyDesk: docs/benchmarks.md.
  • Works in corporate networks. Only outgoing TCP 443 (port 80 as fallback), through system proxies and TLS inspection. No open ports on the customer's side: docs/corporate-networks.md.
  • Quick support without installing. TetherQS is one portable file for the customer: no installer, no admin rights. You can brand it: docs/quick-support.md.
  • Hundreds of hosts. Tags, saved searches, bulk actions and a command palette: docs/advanced.md.
  • Central management. Tether Manage signs policies and releases on the administrator's PC; the relay only serves them: docs/management.md.
  • Also included: unattended access, file transfer, recording with consent, 2FA, signed updates with staged rollout, several relays with failover, Kubernetes, Grafana dashboards.
Hosts in Advanced mode Policy editor in Tether Manage
Host list with tags, saved searches and bulk actions Policy editor with a draft and the effective policy

How it compares

Tether RustDesk (open source) TeamViewer / AnyDesk
Source Open, AGPL-3.0 Open, AGPL-3.0 Closed
Server Your own Your own or public Vendor's cloud
Ports the apps need TCP 443 only TCP 21115–21117, UDP 21116 Vendor ports, 443 as fallback
Central policies Included (Tether Manage) RustDesk Server Pro (paid) Paid plans
Portable customer module TetherQS Portable client QuickSupport / portable client
Platforms Windows, macOS; relay on Linux Windows, macOS, Linux, Android, iOS, web All major
Ready-made downloads No, you build for your relay Yes Yes

Tether is the younger and smaller project. If you need Linux or mobile clients, or a download that works in five minutes, use RustDesk. Tether is for teams that want a locked-down deployment that they control from end to end.

Get started

Look first: the browser demo is the real interface with sample data. It connects to nothing, so a session there shows an empty picture.

Run it: there is no public Tether server and no generic download. Each deployment builds its own apps with its relay's address and public keys compiled in. docs/getting-started.md goes from an empty server to the first session:

  1. Build Tether Manage and create your keys.
  2. Install the relay on a Linux server.
  3. Build the apps for it, on your PC or in a fork with GitHub Actions.
  4. Publish them to your users with Tether Manage.

Antivirus warnings: the maintainer's release files are checked with Microsoft Defender and VirusTotal. The results, detections included, are in docs/release-checks.md.

Questions, ideas, bugs

If Tether is useful to you, a star helps others find it.

How it is built

Layout

apps/desktop/            Tauri app (src/ = React UI, src-tauri/ = Rust shell)
patches/                 Our changes to the pinned upstream sources
scripts/bootstrap.sh     Fetch vendor/ at pinned tags (checked against pinned commits) and apply patches
server/                  Relay deployment: Dockerfile, compose, systemd units, install.sh
docs/                    FluxRT spec, benchmarks

Build

Prerequisites:

  • Windows: Rust (MSVC), Node 22+, LLVM (LIBCLANG_PATH), VS Build Tools.
  • macOS: Xcode command-line tools.
  • Both: vcpkg (VCPKG_ROOT).
scripts/bootstrap.sh
cd vendor/rustdesk && VCPKG_DEFAULT_HOST_TRIPLET=x64-windows-static \
  $VCPKG_ROOT/vcpkg install --triplet x64-windows-static --x-install-root=$VCPKG_ROOT/installed
cd ../../apps/desktop && npm ci
TETHER_SERVER=relay.example.com TETHER_PUB_KEY=<key from install.sh> npx tauri build

On macOS run bash scripts/build-macos.sh instead: it installs the prerequisites and builds both apps as universal binaries (docs/macos.md). Release builds refuse to compile without TETHER_SERVER, TETHER_PUB_KEY, TETHER_ADMIN_PUB_KEY and TETHER_UPDATER_PUB_KEY.

For development, npm run dev serves the UI against an in-browser mock backend. To run a real host and viewer side by side on one machine, start a second instance with TETHER_PROFILE=b.

Deploy the relay

# Docker (host networking). The containers run as uid 65532: create the data directory first
# (an existing one, before starting the new image: sudo chown -R 65532:65532 server/data &&
# sudo chmod 0700 server/data; otherwise hbbs/hbbr cannot open their database and key and restart in a loop)
sudo install -d -m 0700 -o 65532 -g 65532 server/data
RELAY_HOST=relay.example.com docker compose -f server/docker-compose.yml up -d
# or systemd with prebuilt binaries
sudo server/install.sh relay.example.com ./bin

Tether clients use only TCP 443: put server/caddy/Caddyfile (tether-https.service) in front. Stock RustDesk clients additionally need TCP 21115–21117 and UDP 21116. See docs/corporate-networks.md.

License

AGPL-3.0, inherited from RustDesk (LICENSE). You must offer the complete corresponding source, including patches/, to everyone you distribute Tether to.

Code signing policy

Free code signing provided by SignPath.io, certificate by SignPath Foundation (application pending). Team roles, privacy and system changes: CODE_SIGNING_POLICY.md, PRIVACY.md.

About

Open-source, self-hosted remote desktop and remote support for Windows and macOS. A TeamViewer/AnyDesk alternative on your own server, built on the RustDesk core.

Topics

Resources

Contributing

Security policy

Stars

14 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages