RustDesk is an open-source alternative to TeamViewer and AnyDesk. It provides free remote desktop services on its cloud and self-hosted infrastructure for organizations.
OS: Ubuntu 22.04
Allow udp port 21117 on firewall and OS
1. Domain Setup.
lets suppose you have registered your domain as “rustdesk.unixcop.com” point your Public IP of your VM to that domain.
2. Prepare OS and install Docker engine on it.
After installation of OS installs the docker engine from the Docker official site.
# docker ps
2. Clone RustDesk Repository
# useradd rustdesk
# usermod -aG sudo rustdesk
# passwd restdesk
Enter your password
# sudo su rustdesk
# sudo git clone https://github.com/rustdesk/rustdesk-server.git
# cd rustdesk-server
# sudo vi docker-compose.yml
# press Esc button and type :wq and hit enter
run the server
# sudo docker-compose up -d
3. Install RustDesk on clients and configure the following
The same I have configured on another client. lets connect
Note: DNS Entry, Machine IP binding in DNS, Firewall configuration are important steps for this setup.