首页 > 其他分享 >远程连接-RustDesk

远程连接-RustDesk

时间:2023-03-07 23:57:38浏览次数:43  
标签:21116 rustdesk networks 远程 hbbr hbbs net 连接 RustDesk

Docker搭建采用的是DockerCompose

连接不加密

version: '3'

networks:
rustdesk-net:
external: false

services:
hbbs:
container_name: hbbs
ports:
- 21115:21115
- 21116:21116
- 21116:21116/udp
- 21118:21118
image: rustdesk/rustdesk-server:latest
command: hbbs -r hbbs.example.com:21117 # hbbs.example.com改成
volumes:
- ./hbbs:/root
networks:
- rustdesk-net
depends_on:
- hbbr
restart: unless-stopped

hbbr:
container_name: hbbr
ports:
- 21117:21117
- 21119:21119
image: rustdesk/rustdesk-server:latest
command: hbbr
volumes:
- ./hbbr:/root
networks:
- rustdesk-net
restart: unless-stopped

加密连接
version: '3'

networks:
rustdesk-net:
external: false

services:
hbbs:
container_name: hbbs
ports:
- 21115:21115
- 21116:21116
- 21116:21116/udp
- 21118:21118
image: rustdesk/rustdesk-server:latest
command: hbbs -r hbbs.example.com:21117 -k _ # 加上-k _
volumes:
- ./hbbs:/root
networks:
- rustdesk-net
depends_on:
- hbbr
restart: unless-stopped

hbbr:
container_name: hbbr
ports:
- 21117:21117
- 21119:21119
image: rustdesk/rustdesk-server:latest
command: hbbr -k _ # 加上-k _
volumes:
- ./hbbr:/root
networks:
- rustdesk-net
restart: unless-stopped

标签:21116,rustdesk,networks,远程,hbbr,hbbs,net,连接,RustDesk
From: https://www.cnblogs.com/byzora/p/17190251.html

相关文章