Hi,
I am trying to use OpenVPN to remotely access the machines at my work, and have come across an issue.
I installed OpenVPN server on a new virtual machine on the network of my work (Ubuntu Server), and have OpenVPN client installed on my laptop (Windows 10).
I have the .ovpn file on my laptop, and when I try to connect, I get the following:
Wed Oct 14 08:17:09 2020 OpenVPN 2.4.7 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [AEAD] built on Apr 25 2019
Wed Oct 14 08:17:09 2020 Windows version 6.2 (Windows 8 or greater) 64bit
Wed Oct 14 08:17:09 2020 library versions: OpenSSL 1.1.0j 20 Nov 2018, LZO 2.10
Enter Management Password:
Wed Oct 14 08:17:09 2020 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:25341
Wed Oct 14 08:17:09 2020 Need hold release from management interface, waiting...
Wed Oct 14 08:17:09 2020 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:25341
Wed Oct 14 08:17:09 2020 MANAGEMENT: CMD 'state on'
Wed Oct 14 08:17:09 2020 MANAGEMENT: CMD 'log all on'
Wed Oct 14 08:17:09 2020 MANAGEMENT: CMD 'echo all on'
Wed Oct 14 08:17:09 2020 MANAGEMENT: CMD 'bytecount 5'
Wed Oct 14 08:17:09 2020 MANAGEMENT: CMD 'hold off'
Wed Oct 14 08:17:09 2020 MANAGEMENT: CMD 'hold release'
Wed Oct 14 08:17:09 2020 Outgoing Control Channel Encryption: Cipher 'AES-256-CTR' initialized with 256 bit key
Wed Oct 14 08:17:09 2020 Outgoing Control Channel Encryption: Using 256 bit message hash 'SHA256' for HMAC authentication
Wed Oct 14 08:17:09 2020 Incoming Control Channel Encryption: Cipher 'AES-256-CTR' initialized with 256 bit key
Wed Oct 14 08:17:09 2020 Incoming Control Channel Encryption: Using 256 bit message hash 'SHA256' for HMAC authentication
Wed Oct 14 08:17:09 2020 TCP/UDP: Preserving recently used remote address: [AF_INET]10.20.1.30:1194
Wed Oct 14 08:17:09 2020 Socket Buffers: R=[65536->65536] S=[65536->65536]
Wed Oct 14 08:17:09 2020 UDP link local: (not bound)
Wed Oct 14 08:17:09 2020 UDP link remote: [AF_INET]10.20.1.30:1194
Wed Oct 14 08:17:09 2020 MANAGEMENT: >STATE:1602681429,WAIT,,,,,,
Wed Oct 14 08:17:09 2020 MANAGEMENT: >STATE:1602681429,AUTH,,,,,,
Wed Oct 14 08:17:09 2020 TLS: Initial packet from [AF_INET]10.20.1.30:1194, sid=c98cd79c f00cc47d
Wed Oct 14 08:17:09 2020 VERIFY OK: depth=1, CN=ChangeMe
Wed Oct 14 08:17:09 2020 VERIFY KU OK
Wed Oct 14 08:17:09 2020 Validating certificate extended key usage
Wed Oct 14 08:17:09 2020 ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
Wed Oct 14 08:17:09 2020 VERIFY EKU OK
Wed Oct 14 08:17:09 2020 VERIFY OK: depth=0, CN=server
Wed Oct 14 08:17:09 2020 Control Channel: TLSv1.2, cipher TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384, 2048 bit RSA
Wed Oct 14 08:17:09 2020 [server] Peer Connection Initiated with [AF_INET]10.20.1.30:1194
Wed Oct 14 08:17:10 2020 MANAGEMENT: >STATE:1602681430,GET_CONFIG,,,,,,
Wed Oct 14 08:17:10 2020 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
Wed Oct 14 08:17:10 2020 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1 bypass-dhcp,dhcp-option DNS 8.8.8.8,dhcp-option DNS 8.8.4.4,route-gateway 10.8.0.1,topology subnet,ping 10,ping-restart 120,ifconfig 10.8.0.2 255.255.255.0,peer-id 0,cipher AES-256-GCM'
Wed Oct 14 08:17:10 2020 OPTIONS IMPORT: timers and/or timeouts modified
Wed Oct 14 08:17:10 2020 OPTIONS IMPORT: --ifconfig/up options modified
Wed Oct 14 08:17:10 2020 OPTIONS IMPORT: route options modified
Wed Oct 14 08:17:10 2020 OPTIONS IMPORT: route-related options modified
Wed Oct 14 08:17:10 2020 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Wed Oct 14 08:17:10 2020 OPTIONS IMPORT: peer-id set
Wed Oct 14 08:17:10 2020 OPTIONS IMPORT: adjusting link_mtu to 1624
Wed Oct 14 08:17:10 2020 OPTIONS IMPORT: data channel crypto options modified
Wed Oct 14 08:17:10 2020 Data Channel: using negotiated cipher 'AES-256-GCM'
Wed Oct 14 08:17:10 2020 Outgoing Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
Wed Oct 14 08:17:10 2020 Incoming Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
Wed Oct 14 08:17:10 2020 interactive service msg_channel=736
Wed Oct 14 08:17:10 2020 ROUTE_GATEWAY 10.60.1.1/255.255.255.0 I=13 HWADDR=a0:a4:c5:97:e7:8f
Wed Oct 14 08:17:10 2020 open_tun
Wed Oct 14 08:17:10 2020 TAP-WIN32 device [Ethernet 7] opened: \\.\Global\{A3558E63-BCE4-4FDC-B39D-B4509B837F21}.tap
Wed Oct 14 08:17:10 2020 TAP-Windows Driver Version 9.23
Wed Oct 14 08:17:10 2020 Set TAP-Windows TUN subnet mode network/local/netmask = 10.8.0.0/10.8.0.2/255.255.255.0 [SUCCEEDED]
Wed Oct 14 08:17:10 2020 Notified TAP-Windows driver to set a DHCP IP/netmask of 10.8.0.2/255.255.255.0 on interface {A3558E63-BCE4-4FDC-B39D-B4509B837F21} [DHCP-serv: 10.8.0.254, lease-time: 31536000]
Wed Oct 14 08:17:10 2020 Successful ARP Flush on interface [18] {A3558E63-BCE4-4FDC-B39D-B4509B837F21}
Wed Oct 14 08:17:10 2020 MANAGEMENT: >STATE:1602681430,ASSIGN_IP,,10.8.0.2,,,,
Wed Oct 14 08:17:10 2020 Blocking outside dns using service succeeded.
Wed Oct 14 08:17:15 2020 TEST ROUTES: 1/1 succeeded len=0 ret=1 a=0 u/d=up
Wed Oct 14 08:17:15 2020 C:\WINDOWS\system32\route.exe ADD 10.20.1.30 MASK 255.255.255.255 10.60.1.1
Wed Oct 14 08:17:15 2020 Route addition via service succeeded
Wed Oct 14 08:17:15 2020 C:\WINDOWS\system32\route.exe ADD 0.0.0.0 MASK 128.0.0.0 10.8.0.1
Wed Oct 14 08:17:15 2020 Route addition via service succeeded
Wed Oct 14 08:17:15 2020 C:\WINDOWS\system32\route.exe ADD 128.0.0.0 MASK 128.0.0.0 10.8.0.1
Wed Oct 14 08:17:15 2020 Route addition via service succeeded
Wed Oct 14 08:17:15 2020 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Wed Oct 14 08:17:15 2020 Initialization Sequence Completed
Wed Oct 14 08:17:15 2020 MANAGEMENT: >STATE:1602681435,CONNECTED,SUCCESS,10.8.0.2,10.20.1.30,1194,,
Wed Oct 14 08:18:00 2020 MANAGEMENT: CMD 'signal SIGHUP'
Wed Oct 14 08:18:00 2020 C:\WINDOWS\system32\route.exe DELETE 10.20.1.30 MASK 255.255.255.255 10.60.1.1
Wed Oct 14 08:18:00 2020 Warning: route gateway is not reachable on any active network adapters: 10.60.1.1
Wed Oct 14 08:18:00 2020 Route deletion via service failed
Wed Oct 14 08:18:00 2020 C:\WINDOWS\system32\route.exe DELETE 0.0.0.0 MASK 128.0.0.0 10.8.0.1
Wed Oct 14 08:18:00 2020 Route deletion via service succeeded
Wed Oct 14 08:18:00 2020 C:\WINDOWS\system32\route.exe DELETE 128.0.0.0 MASK 128.0.0.0 10.8.0.1
Wed Oct 14 08:18:00 2020 Route deletion via service succeeded
Wed Oct 14 08:18:00 2020 Closing TUN/TAP interface
Wed Oct 14 08:18:00 2020 TAP: DHCP address released
Wed Oct 14 08:18:00 2020 Unblocking outside dns using service succeeded.
Wed Oct 14 08:18:00 2020 SIGHUP[hard,] received, process restarting
Wed Oct 14 08:18:00 2020 MANAGEMENT: >STATE:1602681480,RECONNECTING,SIGHUP,,,,,
Wed Oct 14 08:18:00 2020 OpenVPN 2.4.7 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [AEAD] built on Apr 25 2019
Wed Oct 14 08:18:00 2020 Windows version 6.2 (Windows 8 or greater) 64bit
Wed Oct 14 08:18:00 2020 library versions: OpenSSL 1.1.0j 20 Nov 2018, LZO 2.10
Wed Oct 14 08:18:00 2020 Restart pause, 5 second(s)
Wed Oct 14 08:18:05 2020 Outgoing Control Channel Encryption: Cipher 'AES-256-CTR' initialized with 256 bit key
Wed Oct 14 08:18:05 2020 Outgoing Control Channel Encryption: Using 256 bit message hash 'SHA256' for HMAC authentication
Wed Oct 14 08:18:05 2020 Incoming Control Channel Encryption: Cipher 'AES-256-CTR' initialized with 256 bit key
Wed Oct 14 08:18:05 2020 Incoming Control Channel Encryption: Using 256 bit message hash 'SHA256' for HMAC authentication
Wed Oct 14 08:18:05 2020 TCP/UDP: Preserving recently used remote address: [AF_INET]10.20.1.30:1194
Wed Oct 14 08:18:05 2020 Socket Buffers: R=[65536->65536] S=[65536->65536]
Wed Oct 14 08:18:05 2020 UDP link local: (not bound)
Wed Oct 14 08:18:05 2020 UDP link remote: [AF_INET]10.20.1.30:1194
Wed Oct 14 08:18:05 2020 MANAGEMENT: >STATE:1602681485,WAIT,,,,,,
Wed Oct 14 08:18:22 2020 SIGTERM[hard,] received, process exiting
Wed Oct 14 08:18:22 2020 MANAGEMENT: >STATE:1602681502,EXITING,SIGTERM,,,,,
Any information would be greatly appreciated, thank you!