acai

acai

对世界与新技术充满好奇
github
email

Build your own rustdesk server on Linux

RustDesk is an open-source software that can replace TeamViewer, aiming to provide a secure and convenient self-hosted solution.

Based on Ubuntu 22.04, sharing a tutorial on setting up a rustdesk server.

1. Install docker#

sudo apt install docker.io

2. Pull the rustdesk server image#

sudo docker image pull rustdesk/rustdesk-server

3. Run the rustdesk server#

  • In the second command, frp.hyacm.com is a custom domain name resolving to the server's IP.
sudo docker run --name hbbr -p 21117:21117 -p 21119:21119 -v `pwd`:/root -td --net=host rustdesk/rustdesk-server hbbr -k _
sudo docker run --name hbbs -p 21115:21115 -p 21116:21116 -p 21116:21116/udp -p 21118:21118 -v `pwd`:/root -td --net=host rustdesk/rustdesk-server hbbs -r frp.hyacm.com:21117 -k _

4. Get the rustdesk server key#

  • This key is required when connecting from the client.
cat ./id_ed25519.pub

5. Client configuration#

20240307145259

  • ID Server: Enter the server's IP or domain name
  • Relay Server: Enter the server's IP or domain name
  • Key: Use the key obtained in the previous step
Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.