greengecko
Hello,
I'm hoping one of you might be able to point me in the right direction, please go easy on me though as I have little hands on server experience.
Essentially all I am trying to do is setup OpenVPN on Debian VPS I have.
I have installed OpenVPN as per the YouTube video here: https://www.youtube.com/watch?v=6w3DquIB8yE
If I type "server openvpn status" on Debian, via Putty then I get the response it is active, it looks like the install went as it should.
However, when I try to connect on Windows 7, via the config file I'm getting the following TLS-Error:
Thu Jul 06 22:19:31 2017 OpenVPN 2.4.3 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [AEAD] built on Jun 20 2017
Thu Jul 06 22:19:31 2017 Windows version 6.1 (Windows 7) 64bit
Thu Jul 06 22:19:31 2017 library versions: OpenSSL 1.0.2l 25 May 2017, LZO 2.10
Enter Management Password:
Thu Jul 06 22:19:31 2017 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:25340
Thu Jul 06 22:19:31 2017 Need hold release from management interface, waiting...
Thu Jul 06 22:19:31 2017 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:25340
Thu Jul 06 22:19:31 2017 MANAGEMENT: CMD 'state on'
Thu Jul 06 22:19:31 2017 MANAGEMENT: CMD 'log all on'
Thu Jul 06 22:19:31 2017 MANAGEMENT: CMD 'echo all on'
Thu Jul 06 22:19:31 2017 MANAGEMENT: CMD 'hold off'
Thu Jul 06 22:19:31 2017 MANAGEMENT: CMD 'hold release'
Thu Jul 06 22:19:31 2017 Outgoing Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication
Thu Jul 06 22:19:31 2017 Incoming Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication
Thu Jul 06 22:19:31 2017 TCP/UDP: Preserving recently used remote address: [AF_INET]x.x.x.x:1194
Thu Jul 06 22:19:31 2017 Socket Buffers: R=[8192->8192] S=[8192->8192]
Thu Jul 06 22:19:31 2017 UDP link local: (not bound)
Thu Jul 06 22:19:31 2017 UDP link remote: [AF_INET]x.x.x.x:1194
Thu Jul 06 22:19:31 2017 MANAGEMENT: >STATE:1499375971,WAIT,,,,,,
Thu Jul 06 22:20:31 2017 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Thu Jul 06 22:20:31 2017 TLS Error: TLS handshake failed
Thu Jul 06 22:20:31 2017 SIGUSR1[soft,tls-error] received, process restarting
Thu Jul 06 22:20:31 2017 MANAGEMENT: >STATE:1499376031,RECONNECTING,tls-error,,,,,
Thu Jul 06 22:20:31 2017 Restart pause, 5 second(s)
I have replaced the IP address with x's in the above copy/paste.
I have checked that all ports are open on Debian, also that OpenVPN is not blocked by windows firewall and running as administrator.
All a bit frustrating really, was hoping it was going to be rather simple. Any ideas?
Thanks