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

问题描述 投票:-1回答:1

我尝试在我的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
linux windows centos openvpn
1个回答
0
投票

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

© www.soinside.com 2019 - 2024. All rights reserved.