Navigation

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

    OpenVPN VoIP interrupts after pfSense 2.5.1 release installed

    OpenVPN
    3
    8
    630
    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
      dennis_w last edited by

      Hello community

      Maybe one of you can help me. I am a little desperate here.

      Two weeks ago we installed the major release upgrade to version 2.5.1. Before that we were using 2.4.4. Since then we do not have a stable OpenVPN connection.
      There are irregular interruptions during the VoIP connection that last up to 3 seconds. At the same time, during an endless ping of the VPN client to the VoIP server, a high latency (3000ms) up to a timeout can be measured.

      A downgrade to the previously used version solves the problem.
      A test with a changed hardware appliance, which has much more performance, leads to the same interruptions but with lower latency. (around 1500ms)

      No settings were changed after the release upgrade. The OpenVPN server was updated with the pfSense release upgrade from 2.4.6 to 2.5.1. There are certainly some major changes there but I couldn't find the bug with it so far.

      Our installation runs on a PCengines apu3b4 (3 i211AT LAN / AMD GX-412TC CPU / 4 GB DRAM).

      this is our config
      210510_1234.png

      I hope it is alright to put the same request translated in the german part of the forum.

      Thanks for the support.
      Dennis

      1 Reply Last reply Reply Quote 0
      • D
        djurg last edited by

        Hey Dennis,

        I'm facing the exact same problem as you even with the latest 2.5.2 release. Reverting back to 2.4.5 fixes it. Did you find a solution?

        Thanks!

        D 1 Reply Last reply Reply Quote 0
        • D
          dennis_w last edited by

          Hi djurg

          A real solution I did not find. Complicated the matter seems. :)

          We found out, that the hardware acceleration in encrypting and decrypting the tunnel was at its limits. So despite the better hardware we tested in between there was no change in behaviour.
          Meanwhile I upgrqaded to a new firewall hardware with far better hardware acceleration. The ping latency could still be found and I have the feeling at some points some telephone calls are still influenced but users are happy and so I am happy too.

          Use the ssh command: openssl speed -elapsed -evp aes-256-gcm to determine the max processed byte your hardware can handle. In the end that is no solution but a workaround. With that much more calculation power the flaw has less impact. We will see if more users and more tunnel traffic will nullify that situation again.

          cheers
          Dennis

          1 Reply Last reply Reply Quote 0
          • D
            dennis_w @djurg last edited by

            @djurg 2.png 1.png

            This should be switched on.

            1 Reply Last reply Reply Quote 0
            • D
              djurg last edited by

              Thanks Dennis.

              I made more diagnostics since and we noticed that packet loss is only occurring when there are at least 3 calls active. Seems like the VPN Server gets overwhelmed by 'so many' UDP packets... We ended up creating 10 VPN server instances with the same configuration (different UDP ports) and the VPN client just randomly connects to one of them thus splitting the traffic and not reaching more than 3 simultaneous calls in one VPN server instance.

              Hopefully it's just temporary and whatever got broken in OpenVPN 2.5 will get fixed.

              But I will try changing the crypto hardware to see if there's a difference.

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

                We are having the same problem here... We have around 70 ppl connected through OpenVPN and after the upgrade from 2.4.5 to 21.05.1-RELEASE we have been all experiencing lots of interrupts and slowdowns in Discord, Google Meet, Zoom, etc

                Our hardware is Netgate SG-4860

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

                  @dennis_w @djurg

                  Disabling certificate depth check fixed the issue for us.

                  More information

                  D 1 Reply Last reply Reply Quote 0
                  • D
                    djurg @jfassad last edited by

                    @jfassad Thanks a lot for the info. I'll give it a shot!

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post