OpenVPN 身份验证/解密数据包错误:数据包 HMAC 身份验证失败

OpenVPN 身份验证/解密数据包错误:数据包 HMAC 身份验证失败

尝试连接到服务器时出现此错误

Tue Apr 24 16:03:16 2018 us=869561 my_ip:49327 TCPv4_SERVER READ [54] from [AF_INET]my_ip:49327: P_CONTROL_HARD_RESET_CLIENT_V2 kid=0 pid=[ #1 ] [ ] pid=0 DATA len=0
Tue Apr 24 16:03:16 2018 us=869743 my_ip:49327 TLS: Initial packet from [AF_INET]my_ip:49327, sid=7e1d5645 775455fc
Tue Apr 24 16:03:16 2018 us=869793 my_ip:49327 Authenticate/Decrypt packet error: packet HMAC authentication failed
Tue Apr 24 16:03:16 2018 us=869812 my_ip:49327 TLS Error: incoming packet authentication failed from [AF_INET]my_ip:49327
Tue Apr 24 16:03:16 2018 us=869849 my_ip:49327 Fatal TLS error (check_tls_errors_co), restarting
Tue Apr 24 16:03:16 2018 us=869861 my_ip:49327 SIGUSR1[soft,tls-error] received, client-instance restarting
Tue Apr 24 16:03:16 2018 us=869958 TCP/UDP: Closing socket

服务器配置文件 https://pastebin.com/tqE3b6gr

客户端配置文件 https://pastebin.com/jGuywbTs

我从那里尝试解决方案无论我做什么,OpenVPN HMAC 身份验证都会失败?但它对我不起作用

有解决方案吗?这可能取决于操作系统或托管。因为我将以前的配置从我正在使用的 aws Ubuntu 16.04 实例复制到另一个 Ubuntu 14.04,但该服务器上的配置也不起作用。

相关内容