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

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

    Scheduled Pinned Locked Moved OpenVPN
    29 Posts 4 Posters 7.1k 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
      joedoe
      last edited by

      hello, thanks for the reply.
      As you can see the rule is correctly configure.
      0_1530872388419_Capture.PNG

      My server is listening to the WAN IP
      0_1530872499862_cap 2.PNG

      And for you last question yes it's a static ip

      1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator
        last edited by johnpoz

        @joedoe said in TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity):

        [AF_INET]192.168.0.50:1194

        How is that going to work? Your blocking rfc1918.. Have to assume your box is on this 192.168.0/? network..

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.8, 24.11

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

          yes my box is on the network 192.168.0.0/24 => ip adress : 192.168.0.254/24
          rfc1918 is block : it's the default rule in pfsense

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

            So uncheck the block of private networks in the WAN interface settings.
            And ensure the OpenVPN access is forwarded correctly to pfSense WAN.

            1 Reply Last reply Reply Quote 0
            • johnpozJ
              johnpoz LAYER 8 Global Moderator
              last edited by

              Where do you think he would need to forward anything? He has a test box connected to pfsense wan network 192.168.0.. So source of his traffic would be 192.168.0.254 so yeah your blocking rfc1918 - its not going to work.

              If you want to test your vpn connections using rfc1918, then your going to have to turn off the block rfc1918 rule.

              An intelligent man is sometimes forced to be drunk to spend time with his fools
              If you get confused: Listen to the Music Play
              Please don't Chat/PM me for help, unless mod related
              SG-4860 24.11 | Lab VMs 2.8, 24.11

              V 1 Reply Last reply Reply Quote 0
              • J
                joedoe
                last edited by

                @viragomann said in TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity):

                And ensure the OpenVPN access is forwarded correctly to pfSense WAN.

                how can i do it ?

                1 Reply Last reply Reply Quote 0
                • johnpozJ
                  johnpoz LAYER 8 Global Moderator
                  last edited by

                  You don't need to..

                  An intelligent man is sometimes forced to be drunk to spend time with his fools
                  If you get confused: Listen to the Music Play
                  Please don't Chat/PM me for help, unless mod related
                  SG-4860 24.11 | Lab VMs 2.8, 24.11

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

                    @johnpoz said in TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity):

                    You don't need to..

                    Ok i just diseable the restriction concerning rfc1918 and nothing change

                    1 Reply Last reply Reply Quote 0
                    • johnpozJ
                      johnpoz LAYER 8 Global Moderator
                      last edited by johnpoz

                      Yes.. I you have some client on 192.168.0 and you want to connect to 192.168.0.50 to try and create a vpn connection to pfsense.. Your going to have to turn off that default block of rfc1918

                      What is your lan network? What did you use for tunnel? You could still run into a problem with such a test if yoru lan behind pfsense is also 192.168.0? Or you tunnel network overlaps either your wan or lan network address space.

                      BTW: Next time you want to draw some ascii art diagram

                      https://textik.com/

                      An intelligent man is sometimes forced to be drunk to spend time with his fools
                      If you get confused: Listen to the Music Play
                      Please don't Chat/PM me for help, unless mod related
                      SG-4860 24.11 | Lab VMs 2.8, 24.11

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

                        @johnpoz said in TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity):

                        Where do you think he would need to forward anything?

                        @viragomann said in TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity):

                        Is your WAN IP a public static one?

                        @joedoe said in TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity):

                        And for you last question yes it's a static ip

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

                          Ok

                          My client (w10 x64) is connected to my cell phone with the ip adress : 192.168.43.39/24

                          And here more informations concerning the architecture :

                          box : 192.168.0.254
                          |
                          |
                          WAN1FREE : 192.168.0.50/24
                          The tunnel network : 10.0.8.0/24
                          LAN : 192.168.1.3/24
                          |
                          |
                          ....

                          johnpozJ 1 Reply Last reply Reply Quote 0
                          • johnpozJ
                            johnpoz LAYER 8 Global Moderator
                            last edited by

                            And again what does his wan IP being static have to do with a forward? His test box is on 192.168.0 along with his pfsense wan?

                            An intelligent man is sometimes forced to be drunk to spend time with his fools
                            If you get confused: Listen to the Music Play
                            Please don't Chat/PM me for help, unless mod related
                            SG-4860 24.11 | Lab VMs 2.8, 24.11

                            V 1 Reply Last reply Reply Quote 0
                            • johnpozJ
                              johnpoz LAYER 8 Global Moderator @joedoe
                              last edited by

                              @joedoe said in TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity):

                              my cell phone with the ip adress : 192.168.43.39/24

                              Huh??? Dude that is never going to work!!! How is some device out on the public internet?? Behind a Carrier grade nat going to get to a rfc1918 address? Your pfsense wan IP.. Is your cell phone on some wifi network that is routed to this 192.168.0 network??

                              Draw up where your cell phone is connecting and what this 192.168.0.254 box is???

                              An intelligent man is sometimes forced to be drunk to spend time with his fools
                              If you get confused: Listen to the Music Play
                              Please don't Chat/PM me for help, unless mod related
                              SG-4860 24.11 | Lab VMs 2.8, 24.11

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

                                @johnpoz
                                If his pfSense is in a private network, but his WAN is a public address, there is obviously a router in front of it.
                                I didn't realize that's a test environment with private networks.

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

                                  @viragomann said in TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity):

                                  @johnpoz
                                  If his pfSense is in a private network, but his WAN is a public address, there is obviously a router in front of it.
                                  I didn't realize that's a test environment with private networks.

                                  Sorry maybe i wasn't enought accurate,
                                  I just want to create a vpn access to my network and i want to give access from the outside. (i pretty new in network configuration, i'm learning)
                                  I just want to test and configure a vpn so i just link my computer

                                  When i plug my computer to my box it works i can go to my network now.
                                  But i just try to share my cell phone to my computer and it doesn't works.

                                  0_1530875743400_3.PNG

                                  1 Reply Last reply Reply Quote 0
                                  • johnpozJ
                                    johnpoz LAYER 8 Global Moderator
                                    last edited by

                                    Confused to what this box is? Its some router - where is its internet connection?

                                    If your on the internet you can not connect to some rfc1918 address. You would have to connect to a public IP, which you could forward into pfsense sure.

                                    An intelligent man is sometimes forced to be drunk to spend time with his fools
                                    If you get confused: Listen to the Music Play
                                    Please don't Chat/PM me for help, unless mod related
                                    SG-4860 24.11 | Lab VMs 2.8, 24.11

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

                                      Yes it's a router, this box give a internet and have a public ip adresse.

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

                                        i just try from my home and i can't connect to the vpn i don't understand.

                                        1 Reply Last reply Reply Quote 0
                                        • johnpozJ
                                          johnpoz LAYER 8 Global Moderator
                                          last edited by

                                          If your on the internet how do you think you can connect to some rfc1918 address 192.168.x.x ??

                                          When you create your export you need to put in your PUBLIC IP.. ie your ISP public IP, and the port your using for openvpn would have to be forwarded to pfsense IP.

                                          An intelligent man is sometimes forced to be drunk to spend time with his fools
                                          If you get confused: Listen to the Music Play
                                          Please don't Chat/PM me for help, unless mod related
                                          SG-4860 24.11 | Lab VMs 2.8, 24.11

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

                                            @johnpoz said in TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity):

                                            When you create your export you need to put in your PUBLIC IP.. ie your ISP public IP, and the port your using for openvpn would have to be forwarded to pfsense IP.

                                            👏

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