# 远程桌面软件比较

远程桌面软件让用户可以通过网络查看并控制另一位置的计算机，而主要产品在连接方式、由谁运营服务器基础设施以及提供哪些安全控制方面各不相同。这一类别涵盖微软内置的[远程桌面协议](https://www.edgepedia.org/zh/remote-desktop-protocol)（Remote Desktop Protocol，RDP）技术栈、面向消费者的工具（如 [Chrome 远程桌面](https://www.edgepedia.org/zh/chrome-remote-desktop)）、商业平台（如 [TeamViewer](https://www.edgepedia.org/zh/teamviewer) 和 AnyDesk），以及可自托管的开源选项（如 RustDesk）。

| 产品 | 模式 | 平台（客户端） | 显著特性 |
|---|---|---|---|
| 微软远程桌面 / Windows App | 用于 RDP 和远程桌面服务（Remote Desktop Services）的客户端 | Windows、macOS、iOS/iPadOS、Android、网页浏览器（远程桌面客户端）；Windows App 适用于 macOS、iOS/iPadOS、Android<sup>[1](https://learn.microsoft.com/windows-server/remote/remote-desktop-services/connect-remote-desktop-services)</sup> | Windows App 取代远程桌面客户端；多显示器、Teams 优化、设备重定向、单点登录<sup>[1](https://learn.microsoft.com/windows-server/remote/remote-desktop-services/connect-remote-desktop-services)</sup> |
| RustDesk | 开源客户端，可使用公共或自托管服务器 | Windows、macOS、Linux、iOS、Android、Web<sup>[2](https://rustdesk.com/docs/en/)</sup> | 基于 NaCl 的端到端加密点对点（P2P）连接；在 Windows 上无需管理员权限或安装<sup>[2](https://rustdesk.com/docs/en/)</sup> |
| Chrome 远程桌面 | 通过 Chrome 访问的 Google 托管服务 | 网站以及 Android 和 iOS 应用<sup>[3](https://support.google.com/chrome/a/answer/2799701?hl=en)</sup> | 用于支持的一次性访问码；通过 PIN 访问自己的计算机；会话全程加密<sup>[4](https://support.google.com/chrome/answer/1649523?hl=en-GB_ALL)</sup> |
| TeamViewer | 商业平台，私人使用免费 | Windows、macOS、Linux、移动端<sup>[5](https://www.teamviewer.com/en/global/support/knowledge-base/teamviewer-remote/security/security-statement/)</sup> | 约 630,000 名订阅者；安装在超过 25 亿台设备上；TLS 传输，RSA/AES 256 位存储加密<sup>[5](https://www.teamviewer.com/en/global/support/knowledge-base/teamviewer-remote/security/security-statement/)</sup> |
| AnyDesk | 支持无人值守访问的商业远程桌面 | Windows、macOS、Linux、Android、iOS<sup>[6](https://anydesk.com/en/features/unattended-access)</sup> | 默认禁用无人值守访问；无需用户接受、由密码控制的连接<sup>[6](https://anydesk.com/en/features/unattended-access)</sup> |
| 通过覆盖网络使用 Windows RDP（例如 Tailscale） | 通过私有网状网络承载 RDP | 任何 RDP 客户端平台<sup>[7](https://tailscale.com/docs/solutions/access-remote-desktops-using-windows-rdp)</sup> | 无需端口转发或公网 IP；主机需要 Windows 专业版、企业版、教育版或服务器版<sup>[7](https://tailscale.com/docs/solutions/access-remote-desktops-using-windows-rdp)</sup> |

## 连接架构

**中继连接与直连。** 大多数面向互联网的工具都必须穿越防火墙和网络地址转换（NAT），并分两个阶段处理。RustDesk 安装两个服务器组件：`hbbs`，即记录每台机器当前地址的 ID 服务器或会合服务器；以及 `hbbr`，即中继服务器。当计算机 A 联系计算机 B 时，ID 服务器尝试通过打洞让二者直接连接；如果失败，流量则通过中继传输。根据 RustDesk 文档，打洞在大多数情况下都能成功<sup>[8](https://rustdesk.com/docs/en/self-host/)</sup>。Chrome 远程桌面使用 WebRTC 遵循同样的模式：连接先通过对 Google 服务的 Web 请求进行协商，然后建立为直连、STUN 或 TURN/中继会话，其中 TURN 通过 Google 数据中心中继数据包，STUN 需要端口 3478<sup>[9](https://support.google.com/chrome/a/answer/16364503?hl=en-1)</sup>。

**基于协议的访问。** 微软的远程桌面协议是 Windows 的一项功能，而不是单独的产品。远程桌面客户端和较新的 Windows App 可连接到远程 PC、远程桌面服务、Azure 虚拟桌面（Azure Virtual Desktop）、Windows 365 和 Microsoft Dev Box<sup>[1](https://learn.microsoft.com/windows-server/remote/remote-desktop-services/connect-remote-desktop-services)</sup>。要从企业网络外部访问，RD 网关（RD Gateway）会建立加密的 SSL 隧道，通过 IIS 对用户进行身份验证，并可选使用基于 RADIUS 的多重身份验证（例如 Azure MFA），然后在设备与内部资源之间传递流量<sup>[10](https://learn.microsoft.com/en-us/windows-server/remote/remote-desktop-services/rds-plan-access-from-anywhere)</sup>。

**覆盖网络。** 第三种方法完全消除了暴露问题。Tailscale 将两台设备置于一个加密私有网络（tailnet）中，因此 Windows RDP 可以在二者之间工作，无需端口转发、防火墙规则或公网 IP 地址；远程 PC 可通过其 Tailscale IP 或 MagicDNS 名称访问，就像它位于本地网络上一样<sup>[7](https://tailscale.com/docs/solutions/access-remote-desktops-using-windows-rdp)</sup>。

## 自托管与数据控制

RustDesk 是这一组产品中突出的开源选项。其客户端是开源的，用户可以在免费、开源的自托管后端（Server OSS，提供 `hbbs` 和 `hbbr`，并附带社区支持）与付费的 Server Pro 之间选择；后者带有 Web 控制台、API、OIDC、LDAP、2FA、设备管理、访问控制和多中继管理<sup>[2](https://rustdesk.com/docs/en/)</sup><sup> • </sup><sup>[8](https://rustdesk.com/docs/en/self-host/)</sup>。自托管会将部署数据保留在运营者管理的系统上，并使运营者能够使远程访问符合网络和合规要求<sup>[8](https://rustdesk.com/docs/en/self-host/)</sup>。

自托管 RustDesk 部署有具体的网络要求。核心端口为 TCP 21114 至 21119 和 UDP 21116；其中 21115 至 21117 是所需的最小端口集，负责信令、中继和 NAT 穿透。TCP 21114 用于 Pro 的 HTTP API，TCP 21118 和 21119 承载通常仅通过反向代理暴露的 [WebSocket](https://www.edgepedia.org/zh/websocket) 流量。RustDesk 还支持仅暴露 TCP 443 的模式，代价是失去直接的点对点连接<sup>[8](https://rustdesk.com/docs/en/self-host/)</sup>。客户端需要 ID 服务器地址和服务器公钥；服务器公钥在首次运行 `hbbs` 时生成，并存储在 `id_ed25519.pub` 中<sup>[11](https://rustdesk.com/docs/en/self-host/client-configuration/)</sup>。用户分布在不同地区的组织可以添加额外中继服务器，并使用地理位置感知路由，在需要中继时降低延迟<sup>[12](https://rustdesk.com/docs/en/self-host/rustdesk-server-pro/relay/)</sup>。

本比较中的商业产品属于托管服务：TeamViewer 的管理控制台运行在通过 ISO 27001 认证、符合 HIPAA 的数据中心<sup>[5](https://www.teamviewer.com/en/global/support/knowledge-base/teamviewer-remote/security/security-statement/)</sup>；Chrome 远程桌面依赖 Google 服务，管理员可以通过屏蔽服务 API 端点 `remotedesktop-pa.googleapis.com` 来限制使用<sup>[3](https://support.google.com/chrome/a/answer/2799701?hl=en)</sup>。

## 安全控制

**身份验证。** 双重身份验证在整个类别中都有提供，但实现方式各不相同。TeamViewer 使用基于时间的一次性密码（TOTP）进行账户登录；如果验证器丢失，恢复代码是唯一重新获得访问权限的方式；TeamViewer 自身无法停用该功能<sup>[13](https://www.teamviewer.com/en/global/support/knowledge-base/teamviewer-remote/account/two-factor-authentication-for-your-account/?tab=tabcomponent-f2eb494d64-item-f0b5da0370)</sup>。TeamViewer 还提供连接层面的双重身份验证，通过推送通知批准每一次对设备的连接<sup>[5](https://www.teamviewer.com/en/global/support/knowledge-base/teamviewer-remote/security/security-statement/)</sup>。AnyDesk 在远程设备上用密码控制无人值守访问，并支持双重身份验证作为额外一层保护<sup>[6](https://anydesk.com/en/features/unattended-access)</sup>。Chrome 远程桌面使用 PIN 访问自己的计算机，并使用一次性访问码进行支持会话<sup>[4](https://support.google.com/chrome/answer/1649523?hl=en-GB_ALL)</sup>。

**访问限制。** TeamViewer 提供阻止列表和允许列表：阻止列表中的账户或 ID 无法连接；配置允许列表后，只有列表中的账户可以连接。供应商特别建议将允许列表用于无人值守维护<sup>[5](https://www.teamviewer.com/en/global/support/knowledge-base/teamviewer-remote/security/security-statement/)</sup><sup> • </sup><sup>[14](https://www.teamviewer.com/apac/global/support/knowledge-base/teamviewer-remote/security/block-and-allowlist/)</sup>。Chrome 远程桌面提供幕帘模式，使主机处的物理屏幕变黑，因此在场人员无法看到远程用户的操作；在 Windows 上，该模式需要专业版、旗舰版、企业版或服务器版，而在 Mac 上，macOS [Big Sur](https://www.edgepedia.org/zh/macos-big-sur) 及更高版本不再支持该模式<sup>[3](https://support.google.com/chrome/a/answer/2799701?hl=en)</sup>。

**RDP 特有的风险。** 微软的安全指南指出，不建议将直接 RDP 用于互联网连接，因为该协议对密码喷洒等现代攻击的防护有限；指南建议将直接 RDP 转换为通过由 Microsoft Entra 应用程序代理（Microsoft Entra application proxy）发布的网关进行 RDP，或通过 Azure Bastion 进行 RDP<sup>[15](https://learn.microsoft.com/en-us/security/privileged-access-workstations/privileged-access-intermediaries)</sup>。RDP 文件还带来重定向风险：恶意构造的 .rdp 文件可以请求访问本地驱动器、剪贴板、智能卡、麦克风、摄像头和其他资源；在最近一次 Windows 更新后，除非用户主动选择启用，否则 RDP 文件请求的所有重定向默认关闭<sup>[16](https://learn.microsoft.com/en-us/windows-server/remote/remote-desktop-services/remotepc/understanding-security-warnings)</sup>。

## 无人值守访问

无人值守访问是指连接到一台无人在场接受请求的计算机，是服务器维护和远程工作的标准需求，而各产品的处理方式不同。AnyDesk 默认禁用它；启用它意味着在远程设备上设置密码，而在 Windows 版 AnyDesk 7 及更新版本中，该设置位于“设置 > 安全 > 权限 > 权限配置文件 > 无人值守访问”下<sup>[6](https://anydesk.com/en/features/unattended-access)</sup>。TeamViewer 的 Easy Access 通过设备组或管理设置中的按设备权限授予无人值守连接，适用于 Windows 上的 Corporate、Tensor 和 TeamViewer ONE 许可证持有者<sup>[17](https://www.teamviewer.com/en/global/support/knowledge-base/teamviewer-remote/deployment/mass-deployment-user-guide/grant-easy-access-to-your-devices-and-device-groups-10-10/)</sup>。对于 Chrome 远程桌面，访问自己的计算机时的无人值守访问是常规模式，由 PIN 保护<sup>[4](https://support.google.com/chrome/answer/1649523?hl=en-GB_ALL)</sup>。

## 如何在它们之间选择

这些产品沿三条路线分化。对于在已运行 [Windows Server](https://www.edgepedia.org/zh/windows-server) 的环境中连接 Windows 计算机，使用带有 RD 网关或 Azure Bastion 的内置 RDP 技术栈可避免在主机上安装新软件<sup>[10](https://learn.microsoft.com/en-us/windows-server/remote/remote-desktop-services/rds-plan-access-from-anywhere)</sup><sup> • </sup><sup>[15](https://learn.microsoft.com/en-us/security/privileged-access-workstations/privileged-access-intermediaries)</sup>。对于对任意计算机（包括位于限制性网络后的计算机）的临时支持，使用一次性代码或基于账户连接的托管工具（Chrome 远程桌面、TeamViewer、AnyDesk）无需服务器基础设施<sup>[4](https://support.google.com/chrome/answer/1649523?hl=en-GB_ALL)</sup><sup> • </sup><sup>[5](https://www.teamviewer.com/en/global/support/knowledge-base/teamviewer-remote/security/security-statement/)</sup>。对于必须将会话流量保留在自己基础设施上的组织，RustDesk 的自托管服务器提供了这种控制：OSS 版免费，Pro 版增加集中管理功能<sup>[8](https://rustdesk.com/docs/en/self-host/)</sup>。

## 适用于所有产品的安全指导

美国负责网络防御的机构[网络安全和基础设施安全局](https://www.edgepedia.org/zh/cybersecurity-and-infrastructure-security-agency)（Cybersecurity and Infrastructure Security Agency，CISA）于 2023 年 6 月发布了《保护远程访问软件安全指南》（Guide to Securing Remote Access Software）。该指南指出，远程访问软件为组织提供了一种灵活监管网络和设备的方式，但网络威胁行为者越来越多地盗用这些工具来获得对受害者系统的访问权限；指南建议采取的措施包括多重身份验证，以及审计网络设备上的远程访问软件及其配置<sup>[18](https://www.cisa.gov/resources-tools/resources/guide-securing-remote-access-software?idU=1)</sup>。CISA 针对托管服务提供商的相关指南建议，对所有有权访问客户环境的账户启用多重身份验证，避免使用已结束生命周期的软件，并且不要在多个客户之间重复使用管理员凭据<sup>[19](https://www.cisa.gov/sites/default/files/2023-06/Guide%20to%20Securing%20Remote%20Access%20Software_clean%20Final_508c.pdf)</sup>。

## References

1. [Connect to Remote Desktop Services in Windows Server, Microsoft Learn](https://learn.microsoft.com/windows-server/remote/remote-desktop-services/connect-remote-desktop-services)
2. [RustDesk Documentation - Open Source Remote Desktop](https://rustdesk.com/docs/en/)
3. [Control use of Chrome Remote Desktop, Chrome Enterprise and Education Help](https://support.google.com/chrome/a/answer/2799701?hl=en)
4. [Access another computer with Chrome Remote Desktop, Google Chrome Help](https://support.google.com/chrome/answer/1649523?hl=en-GB_ALL)
5. [Security Statement - How secure is TeamViewer?](https://www.teamviewer.com/en/global/support/knowledge-base/teamviewer-remote/security/security-statement/)
6. [Unattended Access Remote Desktop Software, AnyDesk](https://anydesk.com/en/features/unattended-access)
7. [Access remote desktops using Windows RDP, Tailscale Docs](https://tailscale.com/docs/solutions/access-remote-desktops-using-windows-rdp)
8. [Self-host, RustDesk Documentation](https://rustdesk.com/docs/en/self-host/)
9. [Network guide for Chrome Remote Desktop, Chrome Enterprise and Education Help](https://support.google.com/chrome/a/answer/16364503?hl=en-1)
10. [Remote Desktop Services - Access from anywhere, Microsoft Learn](https://learn.microsoft.com/en-us/windows-server/remote/remote-desktop-services/rds-plan-access-from-anywhere)
11. [Client Configuration, RustDesk Documentation](https://rustdesk.com/docs/en/self-host/client-configuration/)
12. [Configure Relay Servers, RustDesk Documentation](https://rustdesk.com/docs/en/self-host/rustdesk-server-pro/relay/)
13. [Two-factor authentication for your account, TeamViewer](https://www.teamviewer.com/en/global/support/knowledge-base/teamviewer-remote/account/two-factor-authentication-for-your-account/?tab=tabcomponent-f2eb494d64-item-f0b5da0370)
14. [Block and allowlist, TeamViewer](https://www.teamviewer.com/apac/global/support/knowledge-base/teamviewer-remote/security/block-and-allowlist/)
15. [Securing privileged access intermediaries, Microsoft Learn](https://learn.microsoft.com/en-us/security/privileged-access-workstations/privileged-access-intermediaries)
16. [Understanding security warnings when opening Remote Desktop (RDP) files, Microsoft Learn](https://learn.microsoft.com/en-us/windows-server/remote/remote-desktop-services/remotepc/understanding-security-warnings)
17. [Grant Easy access to your devices and device groups, TeamViewer](https://www.teamviewer.com/en/global/support/knowledge-base/teamviewer-remote/deployment/mass-deployment-user-guide/grant-easy-access-to-your-devices-and-device-groups-10-10/)
18. [Guide to Securing Remote Access Software, CISA](https://www.cisa.gov/resources-tools/resources/guide-securing-remote-access-software?idU=1)
19. [Guide to Securing Remote Access Software (PDF), CISA](https://www.cisa.gov/sites/default/files/2023-06/Guide%20to%20Securing%20Remote%20Access%20Software_clean%20Final_508c.pdf)

---
*Initially written Sep 17, 2026 · Reviewed: Sep 30, 2026; Oct 15, 2026 · Edited: Sep 30, 2026; Oct 15, 2026; Oct 25, 2026 · Last review: Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 软件与编程 › Application software by domain

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/comparison-of-remote-desktop-software

English original: https://www.edgepedia.org/comparison-of-remote-desktop-software
