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

标签 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

最佳答案

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

关于linux - OpenVPN 客户端无法在 Windows 计算机上运行?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55311137/

相关文章:

c++ - 作为 Windows 服务运行应用程序报告 COM 错误 80040154

sql - 我应该使用什么数据库来部署 WPF 应用程序?

linux - Centos yum 崩溃,无法安装任何东西

python - 连接到在 boot2docker 中运行的 python 服务器时出错(centos 容器 | Windows 7.1 主机)

linux - Apache 领域安全吗?

node.js - 如何在 Linux Docker 容器上安装 NPM

c - 编写 AT 命令嵌入式 linux

linux - Gnuplot 4.6 xtics 标签消失

c# - linq distinct 并选择新查询

python - 须藤 : pip: command not found in CentOS