公网 ip ,内部路由器拨号,nas 设备在路由器网段,一层端口转发,搭好后,和不同省份的机子都连过,发现全部都是走的中继,而客户端没有勾选强制中继,大佬有遇见过吗?
version: '3'
services:
hbbs:
container_name: rustdesk-hbbs
image: rustdesk/rustdesk-server:latest
command: hbbs
volumes:
- ./data:/root
network_mode: "host"
restart: unless-stopped
hbbr:
container_name: rustdesk-hbbr
image: rustdesk/rustdesk-server:latest
command: hbbr # 关键!必须用域名或公网 IP
volumes:
- ./data:/root
network_mode: "host"
restart: unless-stopped
容器日志里也并没有尝试直连的记录
|