OpenVPN 无法连接到在专用服务器上运行的服务器

OpenVPN 无法连接到在专用服务器上运行的服务器

我没有在云服务上使用过OpenVPN AS。我想要做的是连接到 VPS 上的 OpenVPN 访问服务器设置。服务器是 CentOS 7,客户端是 Linux 的命令行 openvpn。 OpenVPN AS 管理 UI 表明服务器已启动并正在运行。我已经完成了所有步骤,并且货币限制为两个用户。当尝试通过发出命令“openvpn --config client.ovpn”进行连接时,我遇到了很多类似以下的错误(假设 10.10.10.10 是我的 VPS 的 IP 地址):

Tue Aug 20 11:16:20 2019 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue Aug 20 11:16:20 2019 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue Aug 20 11:16:20 2019 TCP/UDP: Preserving recently used remote address: [AF_INET]10.10.10.10:1194
Tue Aug 20 11:16:20 2019 Socket Buffers: R=[212992->212992] S=[212992->212992]
Tue Aug 20 11:16:20 2019 UDP link local: (not bound)
Tue Aug 20 11:16:20 2019 UDP link remote: [AF_INET]10.10.10.10:1194
Tue Aug 20 11:16:24 2019 Server poll timeout, restarting
Tue Aug 20 11:16:24 2019 SIGUSR1[soft,server_poll] received, process restarting
Tue Aug 20 11:16:24 2019 WARNING: --ns-cert-type is DEPRECATED.  Use --remote-cert-tls instead.
Tue Aug 20 11:16:24 2019 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue Aug 20 11:16:24 2019 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue Aug 20 11:16:24 2019 TCP/UDP: Preserving recently used remote address: [AF_INET]10.10.10.10:1194
Tue Aug 20 11:16:24 2019 Socket Buffers: R=[212992->212992] S=[212992->212992]
Tue Aug 20 11:16:24 2019 UDP link local: (not bound)
Tue Aug 20 11:16:24 2019 UDP link remote: [AF_INET]10.10.10.10:1194
Tue Aug 20 11:16:28 2019 Server poll timeout, restarting
Tue Aug 20 11:16:28 2019 SIGUSR1[soft,server_poll] received, process restarting
Tue Aug 20 11:16:28 2019 WARNING: --ns-cert-type is DEPRECATED.  Use --remote-cert-tls instead.
Tue Aug 20 11:16:28 2019 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue Aug 20 11:16:28 2019 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue Aug 20 11:16:28 2019 TCP/UDP: Preserving recently used remote address: [AF_INET]10.10.10.10:1194
Tue Aug 20 11:16:28 2019 Socket Buffers: R=[212992->212992] S=[212992->212992]
Tue Aug 20 11:16:28 2019 UDP link local: (not bound)
Tue Aug 20 11:16:28 2019 UDP link remote: [AF_INET]10.10.10.10:1194
^CTue Aug 20 11:16:29 2019 event_wait : Interrupted system call (code=4)
Tue Aug 20 11:16:29 2019 SIGINT[hard,] received, process exiting

这些错误会一直持续下去,除非我已经通过 AnyConnect 等其他机制建立了 VPN 连接。我认为这意味着我的 ISP 确实识别了 OpenVPN 流量并且不允许它。
有什么办法解决这个问题吗?不久前,我使用依赖 OpenVPN 的 ProtonVPN 的 cli 应用程序也遇到过类似的问题,但从未得到解决。我应该放弃这个还是有解决方法?

相关内容