thtznet
V2EX  ›  MIUI

MIUI 14, IKEv2 无法连接 DDNS 的域名

  •  
  •   thtznet · Jun 21, 2023 · 1856 views
    This topic created in 1071 days ago, the information mentioned may be changed or developed.

    如题,换成 IP 可以连接。 看服务端后台日志,显示可以握手并连接,感觉是连上后被断开。 有遇到过相同问题的小伙伴么?

    4 replies    2023-06-26 11:58:26 +08:00
    shenyuzhi
        1
    shenyuzhi  
       Jun 23, 2023 via iPhone
    客户端把域名作为了服务器端的身份,服务器端给不出证明(域名作为身份,证明就是域名的数字证书),客户端就断开了。
    thtznet
        2
    thtznet  
    OP
       Jun 25, 2023
    @shenyuzhi 感谢回复,按这样的机制,那基本上 DDNS 无缘 IKEv2 了,安卓更新后只能等 IPv6 普及了。哭。
    shenyuzhi
        3
    shenyuzhi  
       Jun 26, 2023
    @thtznet
    只是某些客户端这样。一般的客户端都可以显式地设置服务器端标识。
    shenyuzhi
        4
    shenyuzhi  
       Jun 26, 2023
    也可以用 PSK ,反正方法很多,就看你的客户端支不支持了。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5361 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 07:02 · PVG 15:02 · LAX 00:02 · JFK 03:02
    ♥ Do have faith in what you're doing.