Rocky 8.x RustDesk

From Notes_Wiki
Revision as of 12:52, 10 December 2022 by Saurabh (talk | contribs)

Home > Rocky Linux or CentOS > Rocky Linux 8.x > Remote Access > RustDesk

RustDesk Server installation

Install RustDesk on Rocky 8.x using:

  1. Create an instance with public IP.
  2. Map DNS to public IP (IPv4 / IPv6 or both)
  3. Based on preference:
    • Set hostname
    • Configure history retention
    • Add swap
    • Configure postfix and logwatch
  4. Install wget
    dnf -y install wget
  5. 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
  6. When prompted for IP/DNS (or domain), choose 2 if DNS entry has been created for public IP
  7. In case of DNS entry enter preferred domain name eg (remote.example.com)
  8. When prompted for "Relay not set yet" select "yes" to download configs and setup http server
  9. Finally press any key to complete installation
  10. 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

  1. Download CentOS 8 or Rocky 8 rpm package from https://github.com/rustdesk/rustdesk/releases or https://rustdesk.com/
  2. 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
  3. Install rustdesk client using:
    dnf -y localinstall ./rustdesk-1.1.9-fedora28-centos8.rpm
  4. Open rustdesk client and go to ... -> ID/Relay server. In ID give FQDN of rustdesk server setup as above
  5. Do similar setup on another client
  6. Try to connect.

Refer:

Home > Rocky Linux or CentOS > Rocky Linux 8.x > Remote Access > RustDesk