#1311·nps

iphone握手失败

Author: starllllCreated Jan 21, 2025Updated Jul 18, 2025
Labelsbug

Describe the bug 创建一条tcp隧道承载https流量(域名解析的隧道此问题依旧),通过Windows11访问能正常打开网站,但是通过iPhone打开,提示:无法与服务器建立安全的连接。通过抓包分析:iPhone上的client hello默认是tlsv1,而通过Windows11访问client hello默认的是tls1.3,使用openssl命令测试,也没有问题,只有iPhone上访问出现无法握手的问题。

To Reproduce Steps to reproduce the behavior: 1、创建一条tcp隧道 2、nps客户端转发数据到nginx(nginx配置ssl证书) 3、使用ios safari打开网站

Expected behavior iphone上正常打开网站

Screenshots or logs

Server (please complete the following information):

  • OS: [Ubuntu 24.04]
  • ARCH: [amd64]
  • Tunnel [ TCP, HTTPS]
  • Version [v0.26.10]

Client (please complete the following information):

  • OS: [Openwrt]
  • ARCH: [amd64]
  • Tunnel [TCP, HTTPs]
  • Version [v0.26.10]

Additional context 流程:iPhone-->nps-server-----tcp---->nps-client-->nginx(ssl)