No connexion with OpenVpn

    • OMV 3.x
    • No connexion with OpenVpn

      Hello,
      I installed OMV 3 on my Raspberry Pi3 and everything works on my local network.
      Now I try to install the OpenVpn plugin.

      I enter my information, generate the certificate and install it on my smartphone android and my laptop.

      The client tells me "connection timeout"

      I opened the UDP port on my box.
      When I test port 1994 on different websites, the port appears as closed ...

      Is the problem coming from OMV or my box?


      here is the log of my connection by the laptop and the screenshots of my config


      Sun Sep 17 15:55:52 2017 OpenVPN 2.4.3 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [AEAD] built on Jul 14 2017
      Sun Sep 17 15:55:52 2017 Windows version 6.2 (Windows 8 or greater) 64bit
      Sun Sep 17 15:55:52 2017 library versions: OpenSSL 1.0.2l 25 May 2017, LZO 2.10
      Sun Sep 17 15:55:52 2017 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:25341
      Sun Sep 17 15:55:52 2017 Need hold release from management interface, waiting...
      Sun Sep 17 15:55:52 2017 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:25341
      Sun Sep 17 15:55:52 2017 MANAGEMENT: CMD 'state on'
      Sun Sep 17 15:55:52 2017 MANAGEMENT: CMD 'log all on'
      Sun Sep 17 15:55:52 2017 MANAGEMENT: CMD 'echo all on'
      Sun Sep 17 15:55:52 2017 MANAGEMENT: CMD 'hold off'
      Sun Sep 17 15:55:52 2017 MANAGEMENT: CMD 'hold release'
      Sun Sep 17 15:55:52 2017 WARNING: --ns-cert-type is DEPRECATED. Use --remote-cert-tls instead.
      Sun Sep 17 15:55:52 2017 TCP/UDP: Preserving recently used remote address: [AF_INET]XX.XX.XX:1194
      Sun Sep 17 15:55:52 2017 Socket Buffers: R=[65536->65536] S=[65536->65536]
      Sun Sep 17 15:55:52 2017 UDP link local: (not bound)
      Sun Sep 17 15:55:52 2017 UDP link remote: [AF_INET]XX.XX.XX:1194
      Sun Sep 17 15:55:52 2017 MANAGEMENT: >STATE:1505656552,WAIT,,,,,,
      Sun Sep 17 15:56:52 2017 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
      Sun Sep 17 15:56:52 2017 TLS Error: TLS handshake failed
      Sun Sep 17 15:56:52 2017 SIGUSR1[soft,tls-error] received, process restarting
      Sun Sep 17 15:56:52 2017 MANAGEMENT: >STATE:1505656612,RECONNECTING,tls-error,,,,,
      Sun Sep 17 15:56:52 2017 Restart pause, 5 second(s)


      Thank you
      Images
      • openvpn.png

        61.22 kB, 1,874×909, viewed 267 times
      • openvpn2.png

        30.46 kB, 1,257×558, viewed 250 times

      The post was edited 2 times, last by 01marc ().

    • Hi there

      Same thing happens to me in OMV 4.x.


      TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
      TLS Error: TLS handshake failed.

      I am pretty sure it is a problem with the OMV pluging because I also have two other openvpn fully working, on a proliant with xpenology os an a Qnap, with no problems whatsoever when connecting from windows, android,linux, etc.

      Any solutions please?

      Thanks,

      Regards.