OpenVPN kann als Client keine Verbindung herstellen

OpenVPN kann als Client keine Verbindung herstellen

Ich habe OpenVPN auf meinem Ubuntu 18.04-Rechner installiert und konfiguriert. Wenn ich den Status des VPN teste, sehe ich, dass es aktiv ist, aber wenn ich die .ovpnDatei auf meinem Client verwende und versuche, eine VPN-Verbindung herzustellen, wird keine Verbindung hergestellt.

Was kann ich tun und wo muss ich suchen?

Client-Protokoll:

⏎[Sep 1, 2021, 17:21:07] Frame=512/2048/512 mssfix-ctrl=1250
⏎[Sep 1, 2021, 17:21:07] UNUSED OPTIONS
4 [resolv-retry] [infinite]
5 [nobind]
6 [persist-key]
7 [persist-tun]
11 [ignore-unknown-option] [block-outside-dns]
12 [verb] [3]
⏎[Sep 1, 2021, 17:21:07] EVENT: RESOLVE ⏎[Sep 1, 2021, 17:21:07] Contacting 76.158.145.102:1194 via UDP
⏎[Sep 1, 2021, 17:21:07] EVENT: WAIT ⏎[Sep 1, 2021, 17:21:07] WinCommandAgent: transmitting bypass route to 76.158.145.102
{
    "host" : "76.158.145.102",
    "ipv6" : false
}

⏎[Sep 1, 2021, 17:21:07] Connecting to [76.158.145.102]:1194 (76.158.145.102) via UDPv4
⏎[Sep 1, 2021, 17:21:17] Server poll timeout, trying next remote entry...
⏎[Sep 1, 2021, 17:21:17] EVENT: RECONNECTING ⏎[Sep 1, 2021, 17:21:17] EVENT: RESOLVE ⏎[Sep 1, 2021, 17:21:17] Contacting 76.158.145.102:1194 via UDP
⏎[Sep 1, 2021, 17:21:17] EVENT: WAIT ⏎[Sep 1, 2021, 17:21:17] WinCommandAgent: transmitting bypass route to 76.158.145.102
{
    "host" : "76.158.145.102",
    "ipv6" : false
}

⏎[Sep 1, 2021, 17:21:17] Connecting to [76.158.145.102]:1194 (76.158.145.102) via UDPv4
⏎[Sep 1, 2021, 17:21:27] Server poll timeout, trying next remote entry...
⏎[Sep 1, 2021, 17:21:27] EVENT: RECONNECTING ⏎[Sep 1, 2021, 17:21:27] EVENT: RESOLVE ⏎[Sep 1, 2021, 17:21:27] Contacting 76.158.145.102:1194 via UDP
⏎[Sep 1, 2021, 17:21:27] EVENT: WAIT ⏎[Sep 1, 2021, 17:21:27] WinCommandAgent: transmitting bypass route to 76.158.145.102
{
    "host" : "76.158.145.102",
    "ipv6" : false
}

⏎[Sep 1, 2021, 17:21:27] Connecting to [76.158.145.102]:1194 (76.158.145.102) via UDPv4
⏎[Sep 1, 2021, 17:21:37] Server poll timeout, trying next remote entry...
⏎[Sep 1, 2021, 17:21:37] EVENT: RECONNECTING ⏎[Sep 1, 2021, 17:21:37] EVENT: RESOLVE ⏎[Sep 1, 2021, 17:21:37] Contacting 76.158.145.102:1194 via UDP
⏎[Sep 1, 2021, 17:21:37] EVENT: WAIT ⏎[Sep 1, 2021, 17:21:37] WinCommandAgent: transmitting bypass route to 76.158.145.102
{
    "host" : "76.158.145.102",
    "ipv6" : false
}

⏎[Sep 1, 2021, 17:21:37] Connecting to [76.158.145.102]:1194 (76.158.145.102) via UDPv4
⏎[Sep 1, 2021, 17:21:47] Server poll timeout, trying next remote entry...
⏎[Sep 1, 2021, 17:21:47] EVENT: RECONNECTING ⏎[Sep 1, 2021, 17:21:47] EVENT: RESOLVE ⏎[Sep 1, 2021, 17:21:47] Contacting 76.158.145.102:1194 via UDP
⏎[Sep 1, 2021, 17:21:47] EVENT: WAIT ⏎[Sep 1, 2021, 17:21:47] WinCommandAgent: transmitting bypass route to 76.158.145.102
{
    "host" : "76.158.145.102",
    "ipv6" : false
}

⏎[Sep 1, 2021, 17:21:47] Connecting to [76.158.145.102]:1194 (76.158.145.102) via UDPv4
⏎[Sep 1, 2021, 17:21:57] Server poll timeout, trying next remote entry...
⏎[Sep 1, 2021, 17:21:57] EVENT: RECONNECTING ⏎[Sep 1, 2021, 17:21:57] EVENT: RESOLVE ⏎[Sep 1, 2021, 17:21:57] Contacting 76.158.145.102:1194 via UDP
⏎[Sep 1, 2021, 17:21:57] EVENT: WAIT ⏎[Sep 1, 2021, 17:21:57] WinCommandAgent: transmitting bypass route to 76.158.145.102
{
    "host" : "76.158.145.102",
    "ipv6" : false
}

⏎[Sep 1, 2021, 17:21:57] Connecting to [76.158.145.102]:1194 (76.158.145.102) via UDPv4
⏎[Sep 1, 2021, 17:22:07] EVENT: CONNECTION_TIMEOUT  BYTES_OUT : 3240
 PACKETS_OUT : 60
 CONNECTION_TIMEOUT : 1
 N_RECONNECT : 5
⏎[Sep 1, 2021, 17:22:07] EVENT: DISCONNECTED ⏎

Antwort1

Die Neukonfiguration der OpenVPN-Datei könnte die Antwort auf Ihre Frage sein.

sudo openvpn --config whateverthename.ovpn

verwandte Informationen