User Tools

Site Tools


linux:rustdesk

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
linux:rustdesk [2023/05/13 16:01] – created olaflinux:rustdesk [2024/02/06 18:32] (current) olaf
Line 1: Line 1:
 ===== Install Rustdesk Server on Debian ===== ===== Install Rustdesk Server on Debian =====
 +
 +==== Download the deb packages ====
 +
 +Go to the [[https://github.com/rustdesk/rustdesk-server/releases|github site]] of the project and copy the links for the hbbs and hbbr server.\\
 +For version 1.1.10-3 that would be\\
 +https://github.com/rustdesk/rustdesk-server/releases/download/1.1.10-3/rustdesk-server-hbbr_1.1.10-3_amd64.deb\\
 +and\\
 +https://github.com/rustdesk/rustdesk-server/releases/download/1.1.10-3/rustdesk-server-hbbs_1.1.10-3_amd64.deb.
 +
 +On the Debian Linux server download the packages:
 +<code bash>
 +wget https://github.com/rustdesk/rustdesk-server/releases/download/1.1.10-3/rustdesk-server-hbbr_1.1.10-3_amd64.deb
 +wget https://github.com/rustdesk/rustdesk-server/releases/download/1.1.10-3/rustdesk-server-hbbs_1.1.10-3_amd64.deb
 +</code>
 +
 +==== Install the server packages ====
 +
 +<code bash>
 +apt install -f ./rustdesk-server-hbbs_1.1.10-3_amd64.deb
 +apt install -f ./rustdesk-server-hbbr_1.1.10-3_amd64.deb
 +</code>
 +
 +This will already start the two servers
 +
 +==== Configure the ID server and the relay server ====
 +
 +in ''/lib/systemd/system/rustdesk-hbbs.service'' change the line
 +<code bash>
 +ExecStart=/usr/bin/hbbs
 +</code>
 +to
 +<code bash>
 +ExecStart=/usr/bin/hbbs -r ip-address.or.DNS-name.of.your.server -k _
 +</code>
 +And to enforce the use of an encrypted connection, change in ''/lib/systemd/system/rustdesk-hbbr.service'' the line
 +<code bash>
 +ExecStart=/usr/bin/hbbr
 +</code>
 +to
 +<code bash>
 +ExecStart=/usr/bin/hbbr -k _
 +</code>
 +
 +Then refresh the serviced cache and restart the servers
 +<code bash>
 +systemctl daemon-reload
 +systemctl restart rustdesk-hbbr.service
 +systemctl restart rustdesk-hbbs.service
 +</code>
 +
 +==== Download the public key for the clients ====
 +
 +The public key was generated at first start in ''/var/lib/rustdesk-server/id_ed25519.pub''.\\
 +The content of that file is the required key in the client setup.\\
 +
 +Should the key be compromised (known by unauthorized persons), just delete ''/var/lib/rustdesk-server/id_ed25519'' and ''/var/lib/rustdesk-server/id_ed25519.pub'' and restart hbbs. That will recreate new keys.
 +
 +
 +
 +
 +
 +
 +
 +
  
  
linux/rustdesk.1683993664.txt.gz · Last modified: 2023/05/13 16:01 by olaf