Project

General

Profile

Actions

Wiki

Install RustDesk with Nginx Proxy Manager on Ubuntu 22.04

Summary of what to do...

Install RustDesk:

Download and install RustDesk on your Ubuntu server.
Ensure it's configured to run on the necessary ports (default: 21115-21119).

Install Nginx Proxy Manager:

Install Nginx Proxy Manager, typically done using Docker or directly on the server.
Access the Nginx Proxy Manager UI, usually at http://<server-ip>:81.

Configure Streams in Nginx Proxy Manager:

Navigate to the Streams section in Nginx Proxy Manager.
Create stream entries for each RustDesk port (21115 to 21119).
Forward these to your RustDesk server's IP and corresponding ports.
Ensure port 21117 is set for both TCP and UDP.

Domain Configuration:

Point a domain (e.g., rustdesk.yourdomain.com) to your server’s public IP.
Configure the domain in Nginx Proxy Manager to route to RustDesk without specifying ports in the URL.


sudo apt-get update && sudo apt-get upgrade

This script will download and set up the Relay and Signal Servers (hbbr and hbbs) for RustDesk.

wget https://raw.githubusercontent.com/dinger1986/rustdeskinstall/master/install.sh
chmod +x install.sh
./install.sh

Updated by Gareth Eaton 10 months ago · 1 revisions