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

    Packet loss with multiple VPN clients

    Scheduled Pinned Locked Moved Routing and Multi WAN
    7 Posts 3 Posters 740 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.
    • T
      townsenk64
      last edited by townsenk64

      2.4.5_p1 works perfect with my 4 client OpenVPN configuration. Using the exact same configuration on 2.5.1 or above generates massive packet loss on all VPN client gateways and failover stops working. Back to 2.4.5_p1 and all works perfect. Netgate tells me that this is not a bug. What else would it be? Just because I can't pinpoint the exact problem and provide a suggested fix my issue is dismissed. I'm not the professional coder here. I'm not sure if it's a dpinger or OpenVPN issue. No sense in explaining it in detail again as I have done so in multiple posts.. This forum has been zero help on this. Even a comment "It works for me" would be helpful at this point. It's the blind leading the blind here. I had full intentions of becoming a PfSense+ subscriber as soon as it became available but now I am unsure.

      DaddyGoD 1 Reply Last reply Reply Quote 0
      • DaddyGoD
        DaddyGo @townsenk64
        last edited by DaddyGo

        @townsenk64 said in Packet loss with multiple VPN clients:

        This forum has been zero help on this. Even a comment "It works for me"

        Hi,

        that I may "live" by your words "It works for me" 😉

        Right now with only 2 VPNs, because of the Mullvad and Nord for other reasons now I don't have it installed

        so we will still just need your more detailed description.....

        Well:

        0d0c2700-e2ad-406e-bfba-197eb571ffaa-image.png

        ea179bc0-9396-4391-aaf8-291314119d70-image.png

        Cats bury it so they can't see it!
        (You know what I mean if you have a cat)

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

          Hi! I went back to 2.4.5 p1 although when I was running 2.5.0 I had 5 or more openvpn client tunnels running without packetloss. Went back to 2.4.5 p1 for other things but packetloss on openvpn was not one of them.

          I suggest wait for 2.5.2 unless there is really a specific feature you need from 2.5.x ( I cannot think of one…). Stay clear from 2.5.x for now, only troubles there.

          1 Reply Last reply Reply Quote 0
          • T
            townsenk64
            last edited by townsenk64

            This is using 2.5.2 beta but the results are the same with 2.5.1 through 2.6.0. The connections constantly struggle. one or two may eventually get down to 0% loss and appear to function properly. if any of the four connections reaches 100% loss they never attempt to connect again even though the four gateways are grouped in the same tier. The very same configuration works flawlessly with 2.5.0 and earlier.
            tempsnip.jpg

            DaddyGoD 1 Reply Last reply Reply Quote 0
            • DaddyGoD
              DaddyGo @townsenk64
              last edited by DaddyGo

              @townsenk64

              Okay,

              My first step would be to talk to TorGuard support about this, what's the situation on the server side...?

              There were also significant changes in the pfSense version change at OVPN

              • just to highlight a few:
                (I have also had to fine tune, in several clients)
              1. NCP
              2. compression behavior
              3. OVPN v.2.5.0 (this is the biggest)

              after quick read of the TorGuard instructions...

              b5c5d953-605e-4754-8469-8627b436c63d-image.png

              fed02bef-11be-41d6-b03f-ee292c55e886-image.png

              You use the same provider for German, Irish, English and Swedish directions (on port 1912), is this correct?

              Start heavy loading the VPN tunnels separately per direction and observe a hardware behavior

              say: ps uxawww

              Cats bury it so they can't see it!
              (You know what I mean if you have a cat)

              T 1 Reply Last reply Reply Quote 0
              • T
                townsenk64 @DaddyGo
                last edited by

                @daddygo said in Packet loss with multiple VPN clients:

                ps uxawww

                Thank you for your suggestions Now I am wondering if this is actually an OpenVPN issue or if it's an issue with my OpenVPN Gateways.

                The part that confuses me is that the actual vpn tunnels connect and stay connected throughout. The packet loss appears to be in the gateway monitoring portion. I've selected my monitor gateways as the actual vpn endpoint IP's or as close to the endpoint as possible that still returned an icmp ping. My first response was to simply use a public dns server as the monitor gateway such as 8.8.8.8 or 1.1.1.1. I. Doing this I get the exact same results. Is this a Dpinger issue? I've reconfigured the advance gateway setting and changed latency, probe, & packet thresholds without any noticeable difference. I don't know the internal difference between a WAN/upstream gateway and ones generated by Openvpn but I've never had any issues on WAN.

                DaddyGoD 1 Reply Last reply Reply Quote 0
                • DaddyGoD
                  DaddyGo @townsenk64
                  last edited by DaddyGo

                  @townsenk64 said in Packet loss with multiple VPN clients:

                  monitor gateway such as 8.8.8.8 or 1.1.1.1.

                  These give exactly the results that the DNS server load gives, not so relevant, DNS servers are not designed to respond to ICMP, but I know this is often the only solution.
                  (this is not the main objective with them = ICMP respons)

                  f.e.: Neither SurfShark nor ExpressVPN gateway not respond to ICMP. (security question)

                  Tracert...... and it will tell you what is the nearest upstream GW in your VPN tunnel that responds to ICMP

                  I wouldn't think it's a "dpinger" issue, because it works for me and others.

                  What I would do next:

                  • First check the parameters of the WAN-only with ISP connection (pls. heavy load the link, for example with this: https://speed.cloudflare.com/ or https://www.nperf.com/en/)

                  • I would take down all the VPN tunnels and bring them up one by one

                  • In the meantime, I would monitor the hardware CPU load, as OpenVPN is a single-threaded beast

                  • Step by step I would launch VPN tunnels, after you should see if doing so increases packet loss and CPU load

                  BTW:

                  What type of ISP connection do you have? (PPPOE, GPON, ADSL, etc) 😉

                  Cats bury it so they can't see it!
                  (You know what I mean if you have a cat)

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