建立 openvpn 連線時遇到問題

建立 openvpn 連線時遇到問題

我正在嘗試使用開放VPN連接到網絡,但在單擊連接並輸入用戶名和密碼後獲得此輸出:

Fri Mar 20 17:00:06 2020 OpenVPN 2.4.8 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [AEAD] built on Oct 31 2019
Fri Mar 20 17:00:06 2020 Windows version 6.1 (Windows 7) 64bit
Fri Mar 20 17:00:06 2020 library versions: OpenSSL 1.1.0l  10 Sep 2019, LZO 2.10
Enter Management Password:
Fri Mar 20 17:00:09 2020 TCP/UDP: Preserving recently used remote address: [AF_INET]someIP.xx.xx.xx:2195
Fri Mar 20 17:00:09 2020 Attempting to establish TCP connection with [AF_INET]someIP.xx.xx.xx:2195 [nonblock]
Fri Mar 20 17:00:10 2020 TCP connection established with [AF_INET]someIP.xx.xx.xx:2195
Fri Mar 20 17:00:10 2020 TCP_CLIENT link local: (not bound)
Fri Mar 20 17:00:10 2020 TCP_CLIENT link remote: [AF_INET]someIP.xx.xx.xx:2195
Fri Mar 20 17:00:10 2020 Connection reset, restarting [0]
Fri Mar 20 17:00:10 2020 SIGUSR1[soft,connection-reset] received, process restarting
Fri Mar 20 17:00:15 2020 TCP/UDP: Preserving recently used remote address: [AF_INET]someIP.xx.xx.xx:2195
Fri Mar 20 17:00:15 2020 Attempting to establish TCP connection with [AF_INET]someIP.xx.xx.xx:2195 [nonblock]
Fri Mar 20 17:00:16 2020 TCP connection established with [AF_INET]someIP.xx.xx.xx:2195
Fri Mar 20 17:00:16 2020 TCP_CLIENT link local: (not bound)
Fri Mar 20 17:00:16 2020 TCP_CLIENT link remote: [AF_INET]someIP.xx.xx.xx:2195
Fri Mar 20 17:00:16 2020 Connection reset, restarting [0]
Fri Mar 20 17:00:16 2020 SIGUSR1[soft,connection-reset] received, process restarting
Fri Mar 20 17:00:21 2020 TCP/UDP: Preserving recently used remote address: [AF_INET]someIP.xx.xx.xx:2195
Fri Mar 20 17:00:21 2020 Attempting to establish TCP connection with [AF_INET]someIP.xx.xx.xx:2195 [nonblock]
Fri Mar 20 17:00:22 2020 TCP connection established with [AF_INET]someIP.xx.xx.xx:2195
Fri Mar 20 17:00:22 2020 TCP_CLIENT link local: (not bound)
Fri Mar 20 17:00:22 2020 TCP_CLIENT link remote: [AF_INET]someIP.xx.xx.xx:2195
Fri Mar 20 17:00:22 2020 Connection reset, restarting [0]
Fri Mar 20 17:00:22 2020 SIGUSR1[soft,connection-reset] received, process restarting
Fri Mar 20 17:00:27 2020 TCP/UDP: Preserving recently used remote address: [AF_INET]someIP.xx.xx.xx:2195
Fri Mar 20 17:00:27 2020 Attempting to establish TCP connection with [AF_INET]someIP.xx.xx.xx:2195 [nonblock]
Fri Mar 20 17:00:28 2020 TCP connection established with [AF_INET]someIP.xx.xx.xx:2195
Fri Mar 20 17:00:28 2020 TCP_CLIENT link local: (not bound)
Fri Mar 20 17:00:28 2020 TCP_CLIENT link remote: [AF_INET]someIP.xx.xx.xx:2195
Fri Mar 20 17:00:28 2020 Connection reset, restarting [0]
Fri Mar 20 17:00:28 2020 SIGUSR1[soft,connection-reset] received, process restarting
Fri Mar 20 17:00:33 2020 TCP/UDP: Preserving recently used remote address: [AF_INET]someIP.xx.xx.xx:2195
Fri Mar 20 17:00:33 2020 Attempting to establish TCP connection with [AF_INET]someIP.xx.xx.xx:2195 [nonblock]
Fri Mar 20 17:00:34 2020 TCP connection established with [AF_INET]someIP.xx.xx.xx:2195
Fri Mar 20 17:00:34 2020 TCP_CLIENT link local: (not bound)
Fri Mar 20 17:00:34 2020 TCP_CLIENT link remote: [AF_INET]someIP.xx.xx.xx:2195
Fri Mar 20 17:00:34 2020 Connection reset, restarting [0]
Fri Mar 20 17:00:34 2020 SIGUSR1[soft,connection-reset] received, process restarting
Fri Mar 20 17:00:35 2020 SIGTERM[hard,init_instance] received, process exiting

有人至少知道是什麼原因造成的嗎?

這是配置:

dev tun
persist-tun
persist-key
cipher AES-256-CBC
ncp-ciphers AES-256-GCM:AES-128-GCM:AES-256-CBC
auth SHA1
tls-client
client
resolv-retry infinite
remote server.gol.ge 2195 tcp-client
verify-x509-name "ServerOpenVPN" name
auth-user-pass
remote-cert-tls server

答案1

如果您有權存取伺服器,請發布伺服器日誌。可能是伺服器斷開了您的連線。

一件事:檢查兩側的防火牆設定。在用戶端,您可能需要調整 Windows 防火牆或防毒套件。也許禁用它並查看連接是否成功並保持穩定。然後您就會知道這是否是問題的原因。

相關內容