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

Upstream very low compared with downstream traffic with OpenVPN Client.

Scheduled Pinned Locked Moved OpenVPN
23 Posts 6 Posters 2.5k Views 6 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.
  • R Offline
    ramses.sevilla
    last edited by Oct 27, 2020, 1:48 PM

    Hi everyone,

    I have installed a HA pfSense 2.4.4 with two WAN and one LAN.

    Both WAN Interfaces are connected to two ISP lines with 250Mb/250Mb (Down/Up).

    Both WAN Interfaces are serving a OpenVPN Server each one.

    When I check the bandwith with speedtest.net from a PC in the LAN I obtain 250Mb/250Mb (Down/Up).

    When I connect a OpenVPN Client to OpenVPN Server 1 (WAN1), and send all traffic through the VPN, the traffic input/output by the otrher WAN interface (WAN2) and when I connect a OpenVPN Client to OpenVPN Server 2 (WAN2), and send all traffic through the VPN, the traffic input/output by the otrher WAN interface (WAN1).

    When I check the bandwith with speedtest.net from the OpenVPN Client in the WAN1/WAN2 I obtain 200Mb/50Mb (Down/Up).

    Do you know why may be that the upstream is so low?

    Regards and thanks,

    Ramsés

    1 Reply Last reply Reply Quote 0
    • S Offline
      stephenw10 Netgate Administrator
      last edited by Oct 28, 2020, 2:56 PM

      Where are you connecting from to test that?

      The upload speed in the VPN would still be limited by the local upload bandwidth at some remote test site.

      Steve

      J R 2 Replies Last reply Oct 28, 2020, 3:11 PM Reply Quote 0
      • J Offline
        JKnott @stephenw10
        last edited by Oct 28, 2020, 3:11 PM

        @stephenw10

        Actually, the VPN performance would be limited by the upload in both directions. For example, I have a 75/10 Mb package. If my VPN were connected to someone else with the same configuration, that VPN would be limited to 10 Mb in both directions, no matter what the download is capable of.

        PfSense running on Qotom mini PC
        i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel 1 Gb Ethernet ports.
        UniFi AC-Lite access point

        I haven't lost my mind. It's around here...somewhere...

        G 1 Reply Last reply Oct 28, 2020, 4:32 PM Reply Quote 0
        • R Offline
          ramses.sevilla @stephenw10
          last edited by Oct 28, 2020, 3:44 PM

          @stephenw10 said in Upstream very low compared with downstream traffic with OpenVPN Client.:

          Where are you connecting from to test that?
          The upload speed in the VPN would still be limited by the local upload bandwidth at some remote test site.
          Steve

          Hi Steve,

          I'm connecting from Spain.

          Regards

          1 Reply Last reply Reply Quote 0
          • P Offline
            Pippin
            last edited by Oct 28, 2020, 3:50 PM

            Server side you have 250/250.
            How much on client side, that's the question ;)

            I gloomily came to the ironic conclusion that if you take a highly intelligent person and give them the best possible, elite education, then you will most likely wind up with an academic who is completely impervious to reality.
            Halton Arp

            R 1 Reply Last reply Oct 28, 2020, 4:17 PM Reply Quote 0
            • R Offline
              ramses.sevilla @Pippin
              last edited by Oct 28, 2020, 4:17 PM

              Hi @Pippin

              On client side no problem neither, I have 300Mb/300Mb

              Regards

              1 Reply Last reply Reply Quote 0
              • G Offline
                Gertjan @JKnott
                last edited by Oct 28, 2020, 4:32 PM

                @JKnott said in Upstream very low compared with downstream traffic with OpenVPN Client.:

                I have a 75/10 Mb package. If my VPN were connected to someone else with the same configuration, that VPN would be limited to 10 Mb in both directions,

                What about 5 Mb/sec ?

                I imagine something like this :

                Someone from the outside world connects to your 75/10 Mb VPN server.
                This some one executes a speed test, available on the net.
                This connection comes in over the "75Mb/sec" VPN pipe, using the WAN interface.
                And goes out over the same WAN interface pipe, over the 10Mb/sec pipe to the speed test server.
                Then comes back over the 75Mb/sec WAN pipe.
                Goes over the VPN 10Mb/sec pipe to the "some one".

                The 75 and 10 pipe will get used each twice.
                In theory, 10 Mb/sec will be cut in half. (right ?)

                True, (VPN) compression could help here. And VPN traffic control will add some overhead.

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

                J R A 3 Replies Last reply Oct 28, 2020, 4:52 PM Reply Quote 0
                • J Offline
                  JKnott @Gertjan
                  last edited by Oct 28, 2020, 4:52 PM

                  @Gertjan

                  If you are in fact going in and out through the same interface twice, then yes throughput will be cut in half.

                  PfSense running on Qotom mini PC
                  i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel 1 Gb Ethernet ports.
                  UniFi AC-Lite access point

                  I haven't lost my mind. It's around here...somewhere...

                  1 Reply Last reply Reply Quote 0
                  • R Offline
                    ramses.sevilla @Gertjan
                    last edited by Oct 28, 2020, 4:56 PM

                    Hi @Gertjan

                    In that situation is correct but in my case I have two WAN with 250Mb/250Mb. The clients connect to WAN1 an goes to Internet trought the WAN2 or viceversa.

                    Regards

                    1 Reply Last reply Reply Quote 0
                    • P Offline
                      Pippin
                      last edited by Pippin Oct 28, 2020, 5:20 PM Oct 28, 2020, 5:20 PM

                      So,

                      Client -> OVPNWAN1 -> OVPNWAN2 -> ???

                      Better draw a clear diagram...

                      I gloomily came to the ironic conclusion that if you take a highly intelligent person and give them the best possible, elite education, then you will most likely wind up with an academic who is completely impervious to reality.
                      Halton Arp

                      R 1 Reply Last reply Oct 29, 2020, 8:19 AM Reply Quote 0
                      • S Offline
                        stephenw10 Netgate Administrator
                        last edited by stephenw10 Oct 28, 2020, 5:24 PM Oct 28, 2020, 5:23 PM

                        Most tests only test in one direction at a time so whilst that traffic has to go in and out at the VPN server the reply traffic the other way is minimal so I would expect somewhere close to the line rate. But, yeah, any reply traffic there is will reduce the potential test rate.

                        Steve

                        1 Reply Last reply Reply Quote 0
                        • R Offline
                          ramses.sevilla @Pippin
                          last edited by Oct 29, 2020, 8:19 AM

                          @Pippin this's the diagram:

                          Case 1.- Client -> Internet -> OVPN-WAN1 -> WAN2 -> Internet

                          Case 2.- Client -> Internet -> OVPN-WAN2 -> WAN1 -> Internet

                          Regards

                          1 Reply Last reply Reply Quote 0
                          • P Offline
                            pwood999
                            last edited by Oct 29, 2020, 10:54 AM

                            Assuming the Client is at a remote location, maybe the client VPN software is limiting the speed ?

                            R 1 Reply Last reply Oct 29, 2020, 12:39 PM Reply Quote 0
                            • R Offline
                              ramses.sevilla @pwood999
                              last edited by Oct 29, 2020, 12:39 PM

                              Hi @pwood999

                              I think that no because OpenVPN Client is installed by default and I think that isn't limited in any direction.

                              1 Reply Last reply Reply Quote 0
                              • S Offline
                                stephenw10 Netgate Administrator
                                last edited by Oct 29, 2020, 6:59 PM

                                So to be clear you're seeing the same throughput when connecting via either WAN?

                                Steve

                                R 1 Reply Last reply Oct 30, 2020, 11:01 AM Reply Quote 0
                                • R Offline
                                  ramses.sevilla @stephenw10
                                  last edited by Oct 30, 2020, 11:01 AM

                                  Hi @stephenw10

                                  I don't understand the question.

                                  Regards

                                  S 1 Reply Last reply Oct 30, 2020, 12:58 PM Reply Quote 0
                                  • P Offline
                                    pwood999
                                    last edited by Oct 30, 2020, 11:17 AM

                                    If the Server has 250Mb/250Mb. and the Client side has 300Mb/300Mb then the issue must be either server or client performance, unless you have some other limiters configured.

                                    R 1 Reply Last reply Oct 30, 2020, 12:02 PM Reply Quote 0
                                    • R Offline
                                      ramses.sevilla @pwood999
                                      last edited by Oct 30, 2020, 12:02 PM

                                      Hi @pwood999

                                      This is clear, but what can I do?. This is the question...

                                      Do I need to change any OVPN parameter?

                                      No, I haven't configured any limiter on any side.

                                      Regards

                                      1 Reply Last reply Reply Quote 0
                                      • S Offline
                                        stephenw10 Netgate Administrator @ramses.sevilla
                                        last edited by Oct 30, 2020, 12:58 PM

                                        @ramses-sevilla said in Upstream very low compared with downstream traffic with OpenVPN Client.:

                                        I don't understand the question.

                                        You showed two connection cases, connecting via WAN1 or connecting via WAN2.

                                        Do you see the same throughput restriction in both cases?

                                        Steve

                                        R 1 Reply Last reply Nov 4, 2020, 8:43 AM Reply Quote 0
                                        • P Offline
                                          pwood999
                                          last edited by pwood999 Oct 31, 2020, 4:32 PM Oct 31, 2020, 4:32 PM

                                          What hardware are your HA PfSense pair running on ?
                                          Are you using physical or virtual machines ?
                                          What CPU & OS does the client PC use ?

                                          Might be worth posting your OpenVPN configs (excluding public IP & secrets).

                                          Also maybe this thread should be moved to OpenVPN forum ?

                                          R 1 Reply Last reply Nov 4, 2020, 8:51 AM Reply Quote 0
                                          20 out of 23
                                          • First post
                                            20/23
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                            This community forum collects and processes your personal information.
                                            consent.not_received