My name is Fredrik and my plan is to make a VPN from my parent 2 computers at address 1 into my servers at address 2. I have a router at address 2 which I have make a portforwarding in of port 1194 for my server. I have followed: Setting Up an OpenVPN Connection (Configuring Server & Client) in 2021 --> https://www.youtube.com/watch?v=hKfHwQgAsUo.
I have did all so that the tunnnel should work. For testing I have make a client from my pc into server in the same network. The connection works but just in 17 seconds then the connection was termaninated and no connection until I disconnect it a connected again.
My logs as follows:
Code: Select all
Fri Feb 26 11:47:46 2021 OpenVPN 2.4.10 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [AEAD] built on Dec 9 2020
Fri Feb 26 11:47:46 2021 Windows version 6.2 (Windows 8 or greater) 64bit
Fri Feb 26 11:47:46 2021 library versions: OpenSSL 1.1.1i 8 Dec 2020, LZO 2.10
Enter Management Password:
................................................................................
--------------------------------------------------------------------------
[b][i][u]The last succeded connectio! [/u][/i][/b]
Fri Feb 26 12:25:48 2021 SENT CONTROL [ServerVPN]: 'PUSH_REQUEST' (status=1)
Fri Feb 26 12:25:48 2021 PUSH: Received control message: 'PUSH_REPLY,route 192.168.0.0 255.255.255.0,route 10.10.10.0 255.255.255.0,topology net30,ping 10,ping-restart 120,ifconfig 10.10.10.6 10.10.10.5,peer-id 0,cipher AES-256-GCM'
Fri Feb 26 12:25:48 2021 OPTIONS IMPORT: timers and/or timeouts modified
Fri Feb 26 12:25:48 2021 OPTIONS IMPORT: --ifconfig/up options modified
Fri Feb 26 12:25:48 2021 OPTIONS IMPORT: route options modified
Fri Feb 26 12:25:48 2021 OPTIONS IMPORT: peer-id set
Fri Feb 26 12:25:48 2021 OPTIONS IMPORT: adjusting link_mtu to 1659
Fri Feb 26 12:25:48 2021 OPTIONS IMPORT: data channel crypto options modified
Fri Feb 26 12:25:48 2021 Data Channel: using negotiated cipher 'AES-256-GCM'
Fri Feb 26 12:25:48 2021 Outgoing Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
Fri Feb 26 12:25:48 2021 Incoming Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
Fri Feb 26 12:25:48 2021 interactive service msg_channel=568
Fri Feb 26 12:25:48 2021 ROUTE_GATEWAY 192.168.0.1/255.255.255.0 I=3 HWADDR=3c:7c:3f:ee:f9:40
Fri Feb 26 12:25:48 2021 open_tun
Fri Feb 26 12:25:48 2021 TAP-WIN32 device [Hjarpes VPN] opened: \\.\Global\{FFEF4C23-9AA7-4843-AC98-C2F073407501}.tap
Fri Feb 26 12:25:48 2021 TAP-Windows Driver Version 9.24
Fri Feb 26 12:25:48 2021 Notified TAP-Windows driver to set a DHCP IP/netmask of 10.10.10.6/255.255.255.252 on interface {FFEF4C23-9AA7-4843-AC98-C2F073407501} [DHCP-serv: 10.10.10.5, lease-time: 31536000]
Fri Feb 26 12:25:48 2021 Successful ARP Flush on interface [49] {FFEF4C23-9AA7-4843-AC98-C2F073407501}
Fri Feb 26 12:25:48 2021 MANAGEMENT: >STATE:1614338748,ASSIGN_IP,,10.10.10.6,,,,
Fri Feb 26 12:25:53 2021 TEST ROUTES: 2/2 succeeded len=2 ret=1 a=0 u/d=up
Fri Feb 26 12:25:53 2021 MANAGEMENT: >STATE:1614338753,ADD_ROUTES,,,,,,
Fri Feb 26 12:25:53 2021 C:\Windows\system32\route.exe ADD 192.168.0.0 MASK 255.255.255.0 10.10.10.5
Fri Feb 26 12:25:53 2021 Route addition via service succeeded
Fri Feb 26 12:25:53 2021 C:\Windows\system32\route.exe ADD 10.10.10.0 MASK 255.255.255.0 10.10.10.5
Fri Feb 26 12:25:53 2021 Route addition via service succeeded
Fri Feb 26 12:25:53 2021 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Fri Feb 26 12:25:53 2021 Initialization Sequence Completed
Fri Feb 26 12:25:53 2021 MANAGEMENT: >STATE:1614338753,CONNECTED,SUCCESS,10.10.10.6,192.168.0.166,1194,192.168.0.20,60940
--------------------------------------------------------------------------
[b][i][u]I think this is part of the issue? [/u][/i][/b]
Fri Feb 26 12:26:14 2021 read TCPv4_CLIENT: Unknown error (code=10060)
Fri Feb 26 12:26:14 2021 Connection reset, restarting [-1]
Fri Feb 26 12:26:14 2021 SIGUSR1[soft,connection-reset] received, process restarting
Fri Feb 26 12:26:14 2021 MANAGEMENT: >STATE:1614338774,RECONNECTING,connection-reset,,,,,
Fri Feb 26 12:26:14 2021 Restart pause, 5 second(s)

Best regards Fredrik