OpenVPN客户端无法在Windows计算机上运行吗?

时间:2019-03-23 06:13:53

标签: linux windows centos openvpn

我尝试在Windows 10计算机上运行我的OpenVPN客户端,以便连接到远程OpenVPN CentOS 7服务器,但是它不起作用。我收到以下错误:

Options error: --capath fails with 'C:\Users\Desktop\OpenVPN\ca.crt': No such process (errno=3)
Options error: --cert fails with 'C:\Users\Desktop\OpenVPN\Win10client.crt': No such process (errno=3)
Fri Mar 22 22:56:20 2019 WARNING: cannot stat file 'C:\Users\Desktop\OpenVPN\Win10client.key': No such process (errno=3)
Options error: --key fails with 'C:\Users\Desktop\OpenVPN\Win10client.key'
Fri Mar 22 22:56:20 2019 WARNING: cannot stat file 'C:\Users\Desktop\OpenVPN\myvpn.tlsauth': No such process (errno=3)
Options error: --tls-crypt fails with 'C:\Users\Desktop\OpenVPN\myvpn.tlsauth': No such process (errno=3)

这是我的ovpn文件上的配置:

client
tls-client
--capath C:\\Users\\Desktop\\OpenVPN\\ca.crt
--cert C:\\Users\\Desktop\\OpenVPN\\Win10client.crt
--key C:\\Users\\Desktop\\OpenVPN\\Win10client.key
--tls-crypt C:\\Users\\Desktop\\OpenVPN\\myvpn.tlsauth

remote-cert-eku "TLS Web Client Authentication"
proto udp
remote serveraddress 1194 udp
dev tun
topology subnet
pull

1 个答案:

答案 0 :(得分:0)

假设您的配置文件做得很好。尝试重新安装openvpn,然后将配置文件放入c:/ program files / openvpn / config文件夹。然后,您可以启动openvpn服务。因此,您不需要使用Openvpn gui。