在 Windows 中一切正常。在 Ubuntu 中,当我运行
sudo openvpn --config client.ovpn
我收到以下错误信息:
TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
TLS Error: TLS handshake failed
我该怎么做才能解决这个问题?我已经尝试更改 nobind -> local ip,但client.ovpn
没有成功。
2018-01-11 07:03:11+0000 [-] OVPN 1 OUT: 'Thu Jan 11 07:03:11 2018
188.226.96.50:56532 TLS: Initial packet from [AF_INET]188.226.96.50:56532, sid=b8f1f244 63645f4e'
2018-01-11 07:03:11+0000 [-] OVPN 1 OUT: 'Thu Jan 11 07:03:11 2018 188.226.96.50:56532 OpenSSL: error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol'
2018-01-11 07:03:11+0000 [-] OVPN 1 OUT: 'Thu Jan 11 07:03:11 2018 188.226.96.50:56532 TLS_ERROR: BIO read tls_read_plaintext error'
2018-01-11 07:03:11+0000 [-] OVPN 1 OUT: 'Thu Jan 11 07:03:11 2018 188.226.96.50:56532 TLS Error: TLS object -> incoming plaintext read error'
2018-01-11 07:03:11+0000 [-] OVPN 1 OUT: 'Thu Jan 11 07:03:11 2018 188.226.96.50:56532 TLS Error: TLS handshake failed'
2018-01-11 07:03:11+0000 [-] OVPN 1 OUT: 'Thu Jan 11 07:03:11 2018 188.226.96.50:56532 SIGUSR1[soft,tls-error] received, client-instance restarting'
服务器设置使用“locate .conf | grep openvpn”找到