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

    error in connecting openvpn client

    Scheduled Pinned Locked Moved OpenVPN
    7 Posts 3 Posters 666 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.
    • J
      jeetu3363
      last edited by

      Hi I am using open VPN to connect remote users , everything was working fine before but now i am having issue in connecting and openvpn client showing the error hu Jul 26 17:31:06 2018 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
      Thu Jul 26 17:31:06 2018 TLS Error: TLS handshake failed
      Thu Jul 26 17:31:06 2018 SIGUSR1[soft,tls-error] received, process restarting

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

        Seems like the client cannot reach the server on the setted IP and port.

        1 Reply Last reply Reply Quote 0
        • J
          jeetu3363
          last edited by

          I have tested(client ) from different network and same error .....I have checked rules and setting everything is good and it was working before ....

          1 Reply Last reply Reply Quote 0
          • GertjanG
            Gertjan
            last edited by

            Hi,

            Identical subject was treated a couple of weeks ago https://forum.netgate.com/topic/132568/tls-error-tls-key-negotiation-failed-to-occur-within-60-seconds-check-your-network-connectivity

            No "help me" PM's please. Use the forum, the community will thank you.
            Edit : and where are the logs ??

            1 Reply Last reply Reply Quote 0
            • J
              jeetu3363
              last edited by

              I have checked again and made changed accordingly but still having the issue ..... my client configuration is ...
              dev tun
              persist-tun
              persist-key
              cipher AES-256-CBC
              ncp-ciphers AES-256-GCM:AES-128-GCM
              auth SHA1
              tls-client
              client
              resolv-retry infinite
              remote 87.7.4.1 1194 udp
              lport 0
              auth-user-pass
              ca pfSense-udp-1194-ca.crt
              tls-auth pfSense-udp-1194-tls.key 1
              remote-cert-tls server

              GertjanG 1 Reply Last reply Reply Quote 0
              • GertjanG
                Gertjan @jeetu3363
                last edited by

                Your config is probably right.

                The error is maybe somewhat misleading : the client VPN can't reach the VPN server on "87.7.4.1" port 1194 - protocol UDP.
                If you have some router in front your pfSense, check it.

                No "help me" PM's please. Use the forum, the community will thank you.
                Edit : and where are the logs ??

                J 1 Reply Last reply Reply Quote 1
                • J
                  jeetu3363 @Gertjan
                  last edited by

                  @gertjan client vpn is behind the firewall and it is blocking the traffic ..now it is working fine ...thanks for your support

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