Rocky 8.x RustDesk
From Notes_Wiki
Home > Rocky Linux or CentOS > Rocky Linux 8.x > Remote Access > RustDesk
RustDesk Server installation
Install RustDesk on Rocky 8.x using:
- Create an instance with public IP.
- Map DNS to public IP (IPv4 / IPv6 or both)
- Based on preference:
- Set hostname
- Configure history retention
- Add swap
- Configure postfix and logwatch
- Install wget
- dnf -y install wget
- Download installation script, set execute permissions and execute it
- wget https://raw.githubusercontent.com/dinger1986/rustdeskinstall/master/install.sh
- chmod +x install.sh
- ./install.sh
- When prompted for IP/DNS (or domain), choose 2 if DNS entry has been created for public IP
- In case of DNS entry enter preferred domain name eg (remote.example.com)
- When prompted for "Relay not set yet" select "yes" to download configs and setup http server
- Finally press any key to complete installation
- Allow required rustdesk port via firewall
- firewall-cmd --zone=public --add-port=21115-21119/tcp --permanent
- firewall-cmd --zone=public --add-port=21116/udp --permanent
- firewall-cmd --reload
Refer:
Rustdesk client installation
The below steps dont seem to work on CentOS 8 / Rocky 8
- Download CentOS 8 or Rocky 8 rpm package from https://github.com/rustdesk/rustdesk/releases or https://rustdesk.com/
- Enable Raven using
- wget https://pkgs.dyn.su/el8/base/x86_64/raven-release-1.0-1.el8.noarch.rpm
- dnf -y localinstall ./raven-release-1.0-1.el8.noarch.rpm
- Install rustdesk client using:
- dnf -y localinstall ./rustdesk-1.1.9-fedora28-centos8.rpm
- Open rustdesk client and go to ... -> ID/Relay server. In ID give FQDN of rustdesk server setup as above
- Do similar setup on another client
- Try to connect.
Refer:
Home > Rocky Linux or CentOS > Rocky Linux 8.x > Remote Access > RustDesk