FIX: OpenVPN Client can’t connect with server log: TLS Error: cannot locate HMAC in incoming packet from [AF_INET]IP_ADDR:57442
Simptomatic ( symptoms ):
#tail /var/log/syslog
Jul 19 03:52:51 HOSTNAME ovpn-HOSTNAME.DOMAIN_NAME.com[737]: Outgoing Control Channel Authentication: Using 512 bit message hash ‘SHA512’ for HMAC authentication
Jul 19 03:52:51 HOSTNAME ovpn-HOSTNAME.DOMAIN_NAME.com[737]: Incoming Control Channel Authentication: Using 512 bit message hash ‘SHA512’ for HMAC authentication
Jul 19 03:52:51 HOSTNAME ovpn-HOSTNAME.DOMAIN_NAME.com[737]: TCP connection established with [AF_INET]IP_ADDR:57442
Jul 19 03:52:51 HOSTNAME ovpn-HOSTNAME.DOMAIN_NAME.com[737]: IP_ADDR:57442 TLS: Initial packet from [AF_INET]IP_ADDR:57442, sid=7ae967f2 ccd6f424
Jul 19 03:52:51 HOSTNAME ovpn-HOSTNAME.DOMAIN_NAME.com[737]: IP_ADDR:57442 TLS Error: cannot locate HMAC in incoming packet from [AF_INET]IP_ADDR:57442
Jul 19 03:52:51 HOSTNAME ovpn-HOSTNAME.DOMAIN_NAME.com[737]: IP_ADDR:57442 Fatal TLS error (check_tls_errors_co), restarting
Solution:
add to client conf file the “auth” line:
#echo 'auth SHA512' >> client.conf
This post is so rear , so Share, if you dare
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here:
Cookie Policy