Blankwonder 说明 Surge 测试版的密钥保管与 Tailscale 固定端口

Surge 官方测试频道说明,测试版可用 private-key-keystore-name 从设备钥匙串读取 WireGuard 私钥,使密钥留在设备中、不写入配置,同一配置跨设备同步时可各用不同密钥。密钥暂时不可读时,例如设备首次解锁前,会注明对应条目,并在下次连接或测试时重试。Tailscale 新增 listen-port,用于固定直连 UDP 端口,让没有 UPnP 的路由器可以设置固定端口转发;端口不可用时会回退到随机端口并显示警告。

频道原文

Beta Updates

Surge Engine

• WireGuard sections can now take their private key from the keystore with private-key-keystore-name instead of writing private-key inline. The key stays in the device's keychain and out of the profile, so a profile synced across devices can use a different key on each one. The Mac and iOS Keystore screens can add a WireGuard private key and show its public key, and the WireGuard editors can pick it. If the key can't be read, for example before the device is first unlocked, the error names the keystore item and the policy tries again on its next connection or test.
• New listen-port option for Tailscale sections, also available in the Mac and iOS editors: Surge's direct UDP connections use this port instead of a random one, so a router without UPnP can keep a fixed port forwarding rule for them. If the port can't be used, Surge falls back to a random port and shows a warning.
• Fixed connections to Tailscale App Connector domains, especially domains whose IP addresses change often, timing out because their DNS queries never reached the connector.
• Fixed DNS queries to resolvers sent by the Tailscale control server that no tailnet route covers, such as the public ts.net resolvers, always timing out. They now go through the regular network, as with the official client. Your own dns-server still goes through the tunnel.
• Fixed the smart group upgrade converting a url-test or load-balance group that lists a built-in policy such as REJECT, which made the profile fail to activate. Such groups now keep their type, and the upgrade is no longer offered when no group can be converted.

Surge iOS

• The Modules page again shows each category on its own collapsible card by default, headed by its title and the number of enabled modules. Tap the header to fold or unfold the card; folded categories are remembered. The category bar is still available under Show Categories As in the More menu.
• Events, network diagnostics and Ponte diagnostics now follow the language chosen for Surge in Settings, instead of the system language.
• Fixed the full-size policy group cards overflowing under the vertical status bar on iPhone Duo.