nekohasekai 说明 Apple VNC 连接对源端口、回包及隧道内核的要求

在 open-screen-sharing 关于通过 Surge Ponte 地址连接 Apple VNC 失败的讨论中,nekohasekai 表示,其他软件使用的是标准 VNC,切换到标准 VNC 也能使用。Apple VNC 需要占用固定源端口 5900 和 5901,并能正确接收反向包,通常需要 WireGuard 等 L3 协议及内核支持。他认为,在官方 Tailscale 和 WireGuard 软件之外,只有 sing-box 1.15.0-alpha.12 起的 Tailscale 和 WireGuard endpoints 支持这一场景。

作者原文

其他软件使用的是标准 VNC,而不是 Apple VNC,你切换到标准 VNC 也能够使用。

标准 Apple VNC 需要占用固定的源端口 5900 和 5901(并且能够正确接到反向包),一般情况下只有 WireGuard 等 L3 协议能能做到,并且需要核心支持。

要使用官方 Tailscale 和 WireGuard 以外的软件作为客户端,我相信只有 sing-box 1.15.0-alpha.12 起的 Tailscale 和 WireGuard endpoints 支持这个场景。