Server端服务部署
解压后目录如下:
官方文档(可看可不看): Installation :: Documentation for RustDesk
云服务开端口
- TCP (21115,21116, 21117, 21118, 21119)
- UDP (21116)
By default, listens on 21115 (TCP) and 21116 (TCP/UDP), 21118 (TCP), and listens on 21117 (TCP), 21119 (TCP). Be sure to open these ports in the firewall. Please note that 21116 should be enabled both for TCP and UDP. 21115 is used for the NAT type test, 21116/UDP is used for the ID registration and heartbeat service, 21116/TCP is used for TCP hole punching and connection service, 21117 is used for the Relay services, and 21118 and 21119 are used to support web clients. If you do not need web client (21118, 21119) support, the corresponding ports can be disabled.
hbbs``hbbr
hbbr(中继服务器)
- 启动(端口自己定,密钥自己定义):
nohup ./hbbr -p 21117 -k _ > hbbr.out 2>&1 &
跑上述命令公钥在图中红框那个文件中
hbbs(ID服务器)
- 启动(端口自己定,密钥自己定义):
nohup ./rustdesk/hbbs -r 0.0.0.0:21117 -p 21116 -k _ > hbbs.out 2>&1 &
- 启动后查看密钥
客户端测试连接
使用感受
替代市面上那些付费的绰绰有余