OpenVPN 客户端错误:无法配置 TLS 上下文

OpenVPN 客户端错误:无法配置 TLS 上下文

尝试启动 openvpn 客户端时出现以下错误:

Tue Nov 28 15:28:03 2017 us=942328 OpenVPN 2.3.14 arm-poky-linux-gnueabi [SSL] [LZO] [EPOLL] [MH] [IPv6] built on Sep  6 2017
Tue Nov 28 15:28:03 2017 us=942837 library versions: LibreSSL 2.5.0, LZO 2.09
Tue Nov 28 15:28:03 2017 us=943095 WARNING: file '/etc/openvpn/auth.txt' is group or others accessible
Tue Nov 28 15:28:03 2017 us=951558 WARNING: No server certificate verification method has been enabled.  See http://openvpn.net/howto.html#mitm for more info.
Tue Nov 28 15:28:03 2017 us=951835 PO_INIT maxevents=4 flags=0x00000002
Tue Nov 28 15:28:04 2017 us=452047 Failed to configure TLS context
Tue Nov 28 15:28:04 2017 us=452305 Exiting due to fatal error

这不是防火墙问题,因为我已停用该功能以确保安全。我在另一个 ARM 客户端上使用了相同的配置,并且正常运行。

这是配置文件:

dev tun
tls-client    
remote myRemoteIP 1194    
pull    
proto udp    
script-security 2    
ca /etc/openvpn/ca.crt    
comp-lzo    
reneg-sec 0    
cipher AES-256-CBC    
auth SHA1    
auth-user-pass  /etc/openvpn/auth.txt
log-append /var/log/openvpn.log
verb 9

知道哪里出错了吗?谢谢

相关内容