Original link: https://zburu.com/blog/206.html/
RustDesk is a full-featured remote desktop application that supports multiple platforms such as Windows, macOS, Linux, iOS, Android, and Web. Supports VP8/VP9/AV1 software codecs and H264/H265 hardware codecs. Take full control of your data and easily build your own. P2P connections, end-to-end encrypted. On Windows, it can be installed and run by non-administrators, and privileges can be elevated locally or remotely as needed.
Below is a script to deploy a relay server on a linux server.
docker pull image
docker image pull rustdesk/rustdesk-server
Run hbbs
# 服务器IP >> 替换为你当前终端的ip docker run -d --name hbbs -p 21115:21115 -p 21116:21116 -p 21116:21116/udp -p 21118:21118 -v `pwd`:/root -it --net=host --rm rustdesk/rustdesk-server hbbs -r 服务器IP # 如果–net=host运行正常,-p选项就不起作用了, 可以去掉。 sudo docker run --name hbbs -v /docker/rustdesk:/root -it -d --net=host --restart=always rustdesk/rustdesk-server hbbs -r 服务器IP
Run hbbr
docker run -d --name hbbr -p 21117:21117 -p 21119:21119 -v `pwd`:/root -it --net=host --rm rustdesk/rustdesk-server hbbr # 如果–net=host运行正常,-p选项就不起作用了, 可以去掉。 sudo docker run --name hbbr -v /docker/rustdesk:/root -it -d --net=host --restart=always rustdesk/rustdesk-server hbbr
Use the docker ps
command to check whether the service is running normally.
windows
Both “ID Server” and “Relay Server” fill in the server IP. There is no need to add a port, but you must remember to allow the port number in the server firewall.
This article is reproduced from: https://zburu.com/blog/206.html/
This site is for inclusion only, and the copyright belongs to the original author.