我正在尝试从 Fedora 40 客户端连接到Cisco AnyConnect VPN。我尝试使用 GUI(那里有很多操作指南)和终端通过OpenConnect建立此连接,但失败了:
SSL connection failure: A packet with illegal or unsupported version was received.
Failed to open HTTPS connection to vpn.vpn.vpn
这是实际的连接尝试:
$ openconnect vpn.vpn.vpn
POST https://vpn.vpn.vpn/
Connected to 0.0.0.0:443
SSL negotiation with vpn.vpn.vpn
SSL connection failure: A packet with illegal or unsupported version was received.
Failed to open HTTPS connection to vpn.vpn.vpn
Failed to complete authentication
看来 VPN 服务器端可能使用了一些旧的和已弃用的密码。因此,对我有用的解决方案是允许使用旧密码:
接下来,我建立了连接: