OpenVPN TLS Error fix

Материал из OpenWiki
Перейти к: навигация, поиск

Похожие ошибки наиболее часто встречаются на Linux клиенте
TLS key negotiation failed to occur within 60 seconds
TLS Error: TLS handshake failed


Решение следующее

# On Server
grep -B1 "TLS Error: TLS handshake failed" /var/log/openvpn/openvpn.log
... TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
... TLS Error: TLS handshake failed
 
# On Client
grep -B1 reneg-sec /etc/openvpn/username-client.conf 
# Client OpenVPN config file, disables the TLS Renegotiation
reneg-sec 0