Docker Compose is the most efficient method for deploying and maintaining RustDesk Server Pro. 1. Install Docker and Docker Compose

Add the following lines, substituting your actual server domain name:

# 1. Install Docker if you haven't already bash <(wget -qO- https://get.docker.com) # 2. Download the Pro Compose file wget rustdesk.com/pro.yml -O compose.yml # 3. Start the server sudo docker compose up -d Use code with caution. Step 2: Access the Web Console

Create a systemd service file with the key embedded. Replace YOUR_LICENSE_KEY_HERE with the actual string.

RustDesk requires several ports to be open on your firewall. Ensure your cloud provider's security groups or local firewall (UFW) allow traffic on the following ports: Web console UI and API service 21115 NAT type identification 21116 ID registration service 21116 ID registration heartbeat / NAT punch 21117 Relay service 21118 Web client support (WebSocket TCP) 21119 Web client support (WebSocket SSL)

Before we touch a command line, let’s demystify what the license actually does.