Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    Disconnections to pfsense from OpenVPN

    Scheduled Pinned Locked Moved OpenVPN
    8 Posts 3 Posters 1.7k Views 2 Watching
    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.
    • D
      damianhl
      last edited by

      Hello team!

      I am a beginner in pfsense.
      We have configured an OpenVPN on the pfsense and all seems to be working, no reports from users.
      Now, we use the OpenVPN connection to enter to the pfsense web portal from outside (We prefer don't enable it for WAN interfaces directly), the problem is that sometimes, the pfsense stop working, usually, when the web portal was inactive for some seconds and I try to access to a different section (as firewall rules or whatever), I lost connection.
      When I run a ping all the time through the OpenVPN, from the OpenVPN Client to the pfsense, when it fails, I stop getting answer from pfsense for about 14 paquets in a row and then start to answer again.
      Any idea?

      Thanks in advance.
      Regards,
      Damián

      V 1 Reply Last reply
      Reply Quote 0
      • D
        damianhl
        last edited by

        Any idea?

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

          @damianhl
          Something to see in the OpenVPN client log at the time of failure?

          Something in the pfSense logs: OpenVPN, system, gateways?

          Did you try the connection already from a different client and a different internet connection?

          Something odd on pfSense like high CPU or memory usage?

          D 1 Reply Last reply
          Reply Quote 0
          • D
            damianhl @viragomann
            last edited by

            @viragomann
            Hello, thanks for your response.

            Client side:

            2022-08-09 17:06:02 TLS Error: Unroutable control packet received from [AF_INET]PublicIP:1194 (si=3 op=P_CONTROL_V1)
            2022-08-09 17:06:04 TLS Error: Unroutable control packet received from [AF_INET]PublicIP:1194 (si=3 op=P_CONTROL_V1)
            2022-08-09 17:06:04 TLS Error: Unroutable control packet received from [AF_INET]PublicIP:1194 (si=3 op=P_CONTROL_V1)
            2022-08-09 17:06:22 [OpenVPN_server] Inactivity timeout (--ping-restart), restarting
            

            Firsts 3 lines appears sometimes, but there are more than 3

            Server logs: I did not find anything, in "Status -> System Logs" inside the "VPN" tab I dont have a tab for OpenVPN. In "System -> Gateways" no new events

            We tried the VPN from multiple computers and internet connections, we all have the same issue

            Resourses are fine, memory about 11% used all the time, cpu about 2% used all the time, Swap 0% all the time, no traffic saturation on interfaces

            This is not happening all the time, today I connected and ping does not lost any packet in 1321 tries
            This is an old version of pfsense (2.4.3-RELEASE), I know I need to update this but I could not do this yet.
            In OpenVPN settings there are not "Ping settings"

            Thanks in advance.
            Regards,
            Damián

            J V 2 Replies Last reply
            Reply Quote 0
            • J
              Jarhead @damianhl
              last edited by

              @damianhl Set this to 0 if it isn't.

              ping.png

              D 1 Reply Last reply
              Reply Quote 0
              • D
                damianhl @Jarhead
                last edited by

                @jarhead
                Hello Jarhead, thanks for your answer
                I dont have such option in the OpenVPN settings in this version

                J 1 Reply Last reply
                Reply Quote 0
                • J
                  Jarhead @damianhl
                  last edited by

                  @damianhl Pretty sure that's been in every version.
                  What version are you running?
                  Scroll to the bottom, it's down pretty low in the config.

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

                    @damianhl said in Disconnections to pfsense from OpenVPN:

                    This is an old version of pfsense (2.4.3-RELEASE), I know I need to update this but I could not do this yet.

                    Yes, you should consider to upgrade seriously.

                    The client log indicates a broken TLS session.
                    A reason for this could be that the system time on pfSense doesn't match with the clients time. Probably you can check this in case the issue occur again.

                    1 Reply Last reply
                    Reply Quote 0

                    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                    With your input, this post could be even better 💗

                    Register Login
                    • First post
                      Last post
                    Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
                    Privacy Policy · Cookie Policy