Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    OpenVPN not connecting

    Scheduled Pinned Locked Moved OpenVPN
    3 Posts 3 Posters 2.4k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • emammadovE
      emammadov
      last edited by

      Hello,

      I have setup OpenVPN, but when I want co connect from client computer, this log appears:

      Tue Feb 20 14:38:34 2018 OpenVPN 2.4.4 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [AEAD] built on Sep 26 2017
      Tue Feb 20 14:38:34 2018 Windows version 6.2 (Windows 8 or greater) 64bit
      Tue Feb 20 14:38:34 2018 library versions: OpenSSL 1.0.2l  25 May 2017, LZO 2.10
      Enter Management Password:
      Tue Feb 20 14:38:38 2018 TCP/UDP: Preserving recently used remote address: [AF_INET]XX:XX:XX:XX:1194
      Tue Feb 20 14:38:38 2018 UDP link local (bound): [AF_INET][undef]:1194
      Tue Feb 20 14:38:38 2018 UDP link remote: [AF_INET]XX:XX:XX:XX:1194
      Tue Feb 20 14:39:38 2018 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
      Tue Feb 20 14:39:38 2018 TLS Error: TLS handshake failed
      Tue Feb 20 14:39:38 2018 SIGUSR1[soft,tls-error] received, process restarting
      Tue Feb 20 14:39:43 2018 TCP/UDP: Preserving recently used remote address: [AF_INET]XX:XX:XX:XX:1194
      Tue Feb 20 14:39:43 2018 UDP link local (bound): [AF_INET][undef]:1194
      Tue Feb 20 14:39:43 2018 UDP link remote: [AF_INET]XX:XX:XX:XX:1194
      Tue Feb 20 14:40:43 2018 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
      Tue Feb 20 14:40:43 2018 TLS Error: TLS handshake failed
      Tue Feb 20 14:40:43 2018 SIGUSR1[soft,tls-error] received, process restarting
      Tue Feb 20 14:40:48 2018 TCP/UDP: Preserving recently used remote address: [AF_INET]XX:XX:XX:XX:1194
      Tue Feb 20 14:40:48 2018 UDP link local (bound): [AF_INET][undef]:1194
      Tue Feb 20 14:40:48 2018 UDP link remote: [AF_INET]XX:XX:XX:XX:1194
      Tue Feb 20 14:41:49 2018 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
      Tue Feb 20 14:41:49 2018 TLS Error: TLS handshake failed
      Tue Feb 20 14:41:49 2018 SIGUSR1[soft,tls-error] received, process restarting
      Tue Feb 20 14:41:54 2018 TCP/UDP: Preserving recently used remote address: [AF_INET]XX:XX:XX:XX:1194
      Tue Feb 20 14:41:54 2018 UDP link local (bound): [AF_INET][undef]:1194
      Tue Feb 20 14:41:54 2018 UDP link remote: [AF_INET]XX:XX:XX:XX:1194
      Tue Feb 20 14:42:08 2018 SIGTERM[hard,] received, process exiting

      Elvin

      1 Reply Last reply Reply Quote 0
      • V
        viragomann
        last edited by

        The client log looks like that if the OpenVPN server is unreachable.
        Check if the servers listening interface is correct and if your firewall rules permit the access to the OpenVPN server.

        1 Reply Last reply Reply Quote 0
        • E
          eurinoeperez
          last edited by

          That happened to me because of many things:

          -  First i did not create firewall rules, so check them and also OpenVPN firewall rules.
            -  Second check the Nat Outbound you have to create entrys according to your ip's.
            -  Third Check the pfsense routing, also if your pfsense is behind a router ISP you have to contact them to check he routing.
            -  Fourth The damn windows firewall also cause that problem.

          Hopes it helps you!

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.