我使用来自OpenVPN的AMI和所有预安装的软件包在Amazon EC2实例上安装了OpenVPN。试图从家里连接到VPN,一切正常。我的手机也一样(4G网络)。但是,当我尝试从工作计算机连接到VPN时,由于timeout
的原因,它无法连接。我们的网络使用公司代理,我们必须使用keytool -importcert -trustcacerts ...
安装JVM和其他工具的公司证书。但是我找不到应该在我的OpenVPN客户端上添加证书的位置。我使用Windows 10和Client API 2.7.1.101/MSI
来自capi.log
2019-08-21 16:27:51+0300 [HTTPChannel,1652,127.0.0.1] *** API CALL f=xmlrpc_Poll args=['sess_ge_1_12_123_1_p2598_7rNlia11aFsXQHSq_1', 10] kw={} ret=[{'timestamp': 1566394071, 'state': u'WAIT', 'type': 'STATE'}]
2019-08-21 16:27:52+0300 [MyOMIClient,0,127.0.0.1] FROM OMI: u">STATE:1566394072,TRANSPORT_ERROR,Transport error on '1.12.123.1: NETWORK_RECV_ERROR,,"
连接日志:
Wed Aug 21 15:47:46 2019 Wed Aug 21 15:47:46 2019 OpenVPN Management Interface 1.0.0/3.2 (qa:d87f5bbc04) win x86_64 64-bit [MbedTLS] built on Feb 26 2019 07:53:13
Wed Aug 21 15:47:46 2019 Wed Aug 21 15:47:46 2019 OMI Connecting to [127.0.0.1]:56132 [tcp]
Wed Aug 21 15:47:50 2019 Wed Aug 21 15:47:50 2019 OpenVPN core 3.2 (qa:d81f1bbc01) win x86_64 64-bit built on Feb 26 2019 07:53:13
Wed Aug 21 15:47:50 2019 Wed Aug 21 15:47:50 2019 Frame=512/2048/512 mssfix-ctrl=1250
Wed Aug 21 15:47:50 2019 Wed Aug 21 15:47:50 2019 UNUSED OPTIONS
4 [nobind]
18 [sndbuf] [0]
19 [rcvbuf] [0]
22 [verb] [3]
31 [CLI_PREF_ALLOW_WEB_IMPORT] [True]
32 [CLI_PREF_BASIC_CLIENT] [False]
33 [CLI_PREF_ENABLE_CONNECT] [True]
34 [CLI_PREF_ENABLE_XD_PROXY] [True]
35 [WSHOST] [1.12.123.1:443]
36 [WEB_CA_BUNDLE] [-----BEGIN CERTIFICATE----- MIIDBjCZAe6gAwIBAgIEXVwafTANBgaqhkiG...]
37 [IS_OPENVPN_WEB_CA] [1]
38 [ORGANIZATION] [OpenVPN Inc]
Wed Aug 21 15:47:50 2019 Wed Aug 21 15:47:50 2019 RESOLVE
Wed Aug 21 15:47:50 2019 Wed Aug 21 15:47:50 2019 Contacting 1.12.123.1:1194 via UDP
Wed Aug 21 15:47:50 2019 Wed Aug 21 15:47:50 2019 WAIT
Wed Aug 21 15:47:50 2019 Wed Aug 21 15:47:50 2019 Connecting to [1.12.123.1]:1194 (1.12.123.1) via UDPv4
Wed Aug 21 15:47:54 2019 Wed Aug 21 15:47:54 2019 Server poll timeout, trying next remote entry...
Wed Aug 21 15:47:54 2019 Wed Aug 21 15:47:54 2019 RECONNECTING
Wed Aug 21 15:47:54 2019 Wed Aug 21 15:47:54 2019 Contacting 1.12.123.1:1194 via UDP
...
Wed Aug 21 15:48:50 2019 Wed Aug 21 15:48:50 2019 WAIT
Wed Aug 21 15:48:50 2019 Wed Aug 21 15:48:50 2019 CONNECTION_TIMEOUT [FATAL-ERR]
Wed Aug 21 15:48:50 2019 Wed Aug 21 15:48:50 2019 DISCONNECTED
Wed Aug 21 15:48:50 2019 Wed Aug 21 15:48:50 2019 >FATAL:CONNECTION_TIMEOUT
如何设置公司根Ca证书以连接到VPN服务器?谢谢。