Project

General

Profile

Wiki » History » Version 1

Gareth Eaton, 02/01/2024 10:03 PM

1 1 Gareth Eaton
h1. Wiki
2
3
Install RustDesk with Nginx Proxy Manager on Ubuntu 22.04
4
5
Summary of what to do...
6
7
*Install RustDesk:*
8
9
> Download and install RustDesk on your Ubuntu server.
10
> Ensure it's configured to run on the necessary ports (default: 21115-21119).
11
12
*Install Nginx Proxy Manager:*
13
14
> Install Nginx Proxy Manager, typically done using Docker or directly on the server.
15
> Access the Nginx Proxy Manager UI, usually at http://<server-ip>:81.
16
17
*Configure Streams in Nginx Proxy Manager:*
18
19
> Navigate to the Streams section in Nginx Proxy Manager.
20
> Create stream entries for each RustDesk port (21115 to 21119).
21
> Forward these to your RustDesk server's IP and corresponding ports.
22
> Ensure port 21117 is set for both TCP and UDP.
23
24
*Domain Configuration:*
25
26
> Point a domain (e.g., rustdesk.yourdomain.com) to your server’s public IP.
27
> Configure the domain in Nginx Proxy Manager to route to RustDesk without specifying ports in the URL.
28
29
----
30
31
<pre>
32
sudo apt-get update && sudo apt-get upgrade
33
</pre>
34
35
This script will download and set up the Relay and Signal Servers (hbbr and hbbs) for RustDesk.
36
<pre>
37
wget https://raw.githubusercontent.com/dinger1986/rustdeskinstall/master/install.sh
38
chmod +x install.sh
39
./install.sh
40
</pre>