Can't connect via openvpn on virtual machine

Post Reply
Nordomus
OpenVpn Newbie
Posts: 2
Joined: Tue Sep 19, 2017 9:53 am

Can't connect via openvpn on virtual machine

Post by Nordomus » Tue Sep 19, 2017 9:56 am

I'm trying to run openvpn on VMware Workstation 12 Player but no matter what I do it can't connect to my VPN server. I've tried disabling firewall, forwarding port, running openvpn as admin. What can be wrong? I'm ataching openvpn log.
Sun Sep 17 09:27:43 2017 OpenVPN 2.4.3 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [AEAD] built on Jul 14 2017
Sun Sep 17 09:27:43 2017 Windows version 6.1 (Windows 7) 64bit
Sun Sep 17 09:27:43 2017 library versions: OpenSSL 1.0.2l 25 May 2017, LZO 2.10
Enter Management Password:
Sun Sep 17 09:27:43 2017 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:25340
Sun Sep 17 09:27:43 2017 Need hold release from management interface, waiting...
Sun Sep 17 09:27:44 2017 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:25340
Sun Sep 17 09:27:44 2017 MANAGEMENT: CMD 'state on'
Sun Sep 17 09:27:44 2017 MANAGEMENT: CMD 'log all on'
Sun Sep 17 09:27:44 2017 MANAGEMENT: CMD 'echo all on'
Sun Sep 17 09:27:44 2017 MANAGEMENT: CMD 'hold off'
Sun Sep 17 09:27:44 2017 MANAGEMENT: CMD 'hold release'
Sun Sep 17 09:27:45 2017 MANAGEMENT: CMD 'username "Auth" "e31372120795db3"'
Sun Sep 17 09:27:45 2017 MANAGEMENT: CMD 'password [...]'
Sun Sep 17 09:27:45 2017 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Sun Sep 17 09:27:46 2017 MANAGEMENT: >STATE:1505633266,RESOLVE,,,,,,
Sun Sep 17 09:27:46 2017 TCP/UDP: Preserving recently used remote address: [AF_INET]172.93.102.178:53
Sun Sep 17 09:27:46 2017 Socket Buffers: R=[8192->8192] S=[8192->8192]
Sun Sep 17 09:27:46 2017 UDP link local: (not bound)
Sun Sep 17 09:27:46 2017 UDP link remote: [AF_INET]172.93.102.178:53
Sun Sep 17 09:27:46 2017 MANAGEMENT: >STATE:1505633266,WAIT,,,,,,
Sun Sep 17 09:28:46 2017 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Sun Sep 17 09:28:46 2017 TLS Error: TLS handshake failed
Sun Sep 17 09:28:47 2017 SIGUSR1[soft,tls-error] received, process restarting
Sun Sep 17 09:28:47 2017 MANAGEMENT: >STATE:1505633327,RECONNECTING,tls-error,,,,,
Sun Sep 17 09:28:47 2017 Restart pause, 5 second(s)
Sun Sep 17 09:28:52 2017 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Sun Sep 17 09:28:52 2017 MANAGEMENT: >STATE:1505633332,RESOLVE,,,,,,
Sun Sep 17 09:28:52 2017 TCP/UDP: Preserving recently used remote address: [AF_INET]172.93.102.178:53
Sun Sep 17 09:28:52 2017 Socket Buffers: R=[8192->8192] S=[8192->8192]
Sun Sep 17 09:28:52 2017 UDP link local: (not bound)
Sun Sep 17 09:28:52 2017 UDP link remote: [AF_INET]172.93.102.178:53
Sun Sep 17 09:28:52 2017 MANAGEMENT: >STATE:1505633332,WAIT,,,,,,
Sun Sep 17 09:28:54 2017 SIGTERM[hard,] received, process exiting
Sun Sep 17 09:28:54 2017 MANAGEMENT: >STATE:1505633334,EXITING,SIGTERM,,,,,

novaflash
OpenVPN Expert
Posts: 440
Joined: Fri Apr 13, 2012 8:43 pm

Re: Can't connect via openvpn on virtual machine

Post by novaflash » Tue Sep 19, 2017 12:44 pm

Pretty sure it's not related to running on a VM, but the configuration settings you're using to make an OpenVPN connection are just borked.

Nordomus
OpenVpn Newbie
Posts: 2
Joined: Tue Sep 19, 2017 9:53 am

Re: Can't connect via openvpn on virtual machine

Post by Nordomus » Tue Sep 19, 2017 1:39 pm

novaflash wrote:
Tue Sep 19, 2017 12:44 pm
Pretty sure it's not related to running on a VM, but the configuration settings you're using to make an OpenVPN connection are just borked.
Yeah I'd think so too but still. What can be wrong?

Post Reply