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

    VPN tunnels massively slows down if high network traffic

    Scheduled Pinned Locked Moved General pfSense Questions
    44 Posts 7 Posters 7.8k 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.
    • P
      paoloest @Derelict
      last edited by paoloest

      @derelict
      you are right. as i am on vacation and hve closely monitored it yesterday the assumption is, that it is not caused by high traffic

      unfortunately it happens now every 5 minutes if my wife and me are working

      1 Reply Last reply Reply Quote 0
      • DerelictD
        Derelict LAYER 8 Netgate
        last edited by

        Pretty much nothing on pfSense can make an echo reply take a second to get back to you.

        Chattanooga, Tennessee, USA
        A comprehensive network diagram is worth 10,000 words and 15 conference calls.
        DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
        Do Not Chat For Help! NO_WAN_EGRESS(TM)

        1 Reply Last reply Reply Quote 0
        • DerelictD
          Derelict LAYER 8 Netgate
          last edited by Derelict

          If you have gateway monitoring on WAN (the default setting), the system is automatically keeping track of two pings per second in Status > Monitoring.
          From there select settings, change the left axis to Quality / WANGW (or the local equivalent).

          A good place to start with Options: 8 hours, Resolution: 1 minute.

          Another place to check is in Status > System Logs, Gateways. Any events there with "Alarm" in them are times when the ping monitor had excessive loss or latency.

          A failure will look something like this: Jan 7 15:05:31 dpinger WANGW 8.8.8.8: Alarm latency 0us stddev 0us loss 100%

          Lines like this are just the dpinger process starting or reloading and are normal:
          dpinger send_interval 500ms loss_interval 2000ms time_period 60000ms report_interval 0ms data_len 0 alert_interval 1000ms latency_alarm 500ms loss_alarm 20% dest_addr 8.8.4.4 bind_addr 198.51.0.16 identifier "DSLGW "

          Sometimes it is beneficial to change your monitoring address to something further out. In that example you can see that I am monitoring a google DNS server there. In general, monitoring the ISP gateway is fine if it reliably responds to pings. Changes to the monitor IP address can be made in System > Routing and editing the appropriate gateway.

          Chattanooga, Tennessee, USA
          A comprehensive network diagram is worth 10,000 words and 15 conference calls.
          DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
          Do Not Chat For Help! NO_WAN_EGRESS(TM)

          1 Reply Last reply Reply Quote 0
          • P
            paoloest
            last edited by

            thanks a lot.

            I am pinging outside dns server. the monitoring itself works. With the latency issues comes the issue, that the internet can hardly be used (or even worse)

            1 Reply Last reply Reply Quote 0
            • DerelictD
              Derelict LAYER 8 Netgate
              last edited by

              Right. Look at the historical quality graph.

              Chattanooga, Tennessee, USA
              A comprehensive network diagram is worth 10,000 words and 15 conference calls.
              DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
              Do Not Chat For Help! NO_WAN_EGRESS(TM)

              1 Reply Last reply Reply Quote 0
              • P
                paoloest
                last edited by

                0_1551863272364_Screenshot 2019-03-06 at 10.07.25.png

                1 Reply Last reply Reply Quote 0
                • DerelictD
                  Derelict LAYER 8 Netgate
                  last edited by

                  That delay is abysmal.

                  Now add the right axis, Traffic, WAN

                  Chattanooga, Tennessee, USA
                  A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                  DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                  Do Not Chat For Help! NO_WAN_EGRESS(TM)

                  1 Reply Last reply Reply Quote 0
                  • P
                    paoloest
                    last edited by

                    0_1551863632836_Screenshot 2019-03-06 at 10.13.43.png

                    1 Reply Last reply Reply Quote 0
                    • DerelictD
                      Derelict LAYER 8 Netgate
                      last edited by

                      OK so there is no traffic reason for the delay.

                      At first glance I'd say your ISP/Your ISP circuit is having serious problems.

                      Chattanooga, Tennessee, USA
                      A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                      DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                      Do Not Chat For Help! NO_WAN_EGRESS(TM)

                      1 Reply Last reply Reply Quote 0
                      • P
                        paoloest
                        last edited by

                        depending on the current situation, that i have massive problems at the moment I would assume that as an option as well ...

                        just wanted to make sure that there is no config error

                        1 Reply Last reply Reply Quote 0
                        • DerelictD
                          Derelict LAYER 8 Netgate
                          last edited by

                          There is nothing in pfSense that can send an echo request out WAN and delay the echo reply 1200ms before it arrives on WAN.

                          Chattanooga, Tennessee, USA
                          A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                          DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                          Do Not Chat For Help! NO_WAN_EGRESS(TM)

                          1 Reply Last reply Reply Quote 0
                          • P
                            paoloest
                            last edited by paoloest

                            I have found out what the issue is. The cheap f*** internet gateway router detects a sync flood and slows down the interface ...

                            So I will get a fritzbox as a Modem instead of this thing.

                            as a workaround I have disabled all VPN Clients and only use the wan gw. hopefully it will not get to much on my nerves until this evening

                            1 Reply Last reply Reply Quote 0
                            • stephenw10S
                              stephenw10 Netgate Administrator
                              last edited by

                              Nice, that will do it!

                              You can't disable that? Or tune it? I assume you mean 'SYN flood' which this is not. Something that is a modem only is a better option though I agree.

                              Steve

                              1 Reply Last reply Reply Quote 0
                              • P
                                paoloest
                                last edited by

                                Auto correct did the syn“c“ ;)

                                This isp Router cannot tweak anything ...

                                Unfortunately today there are no good modems (stand alone) are available. So another Router where no router is really needed

                                GrimsonG 1 Reply Last reply Reply Quote 0
                                • GrimsonG
                                  Grimson Banned @paoloest
                                  last edited by

                                  @paoloest said in VPN tunnels massively slows down if high network traffic:

                                  Unfortunately today there are no good modems (stand alone) are available. So another Router where no router is really needed

                                  Sure there are, for (V)DSL you can use the Draytek Vigor 165 for example. For cable it depends on your provider.

                                  1 Reply Last reply Reply Quote 0
                                  • P
                                    paoloest
                                    last edited by

                                    @grimson said in VPN tunnels massively slows down if high network traffic:

                                    Draytek Vigor 165

                                    thanks a lot. have seen this, but it costs more then the fritzbox 7530 - the pros of the fritzbox for me were that the modem (with the same specs) is build in and I can have one more security layer. (and with the fritzbox I can fine tune the parameters)

                                    would you choose the modem over the router?

                                    GrimsonG 1 Reply Last reply Reply Quote 0
                                    • GrimsonG
                                      Grimson Banned @paoloest
                                      last edited by

                                      @paoloest said in VPN tunnels massively slows down if high network traffic:

                                      would you choose the modem over the router?

                                      When using pfSense, always. Double-NAT just adds useless complexity and the pfSense devs are a lot faster in fixing security issues than the AVM devs.

                                      1 Reply Last reply Reply Quote 0
                                      • P
                                        paoloest
                                        last edited by

                                        And beyond the pfsense there is a Sophos utm for one subnet and an xg for Another.

                                        So maybe no bad idea to leave one layer of complexity ;)

                                        1 Reply Last reply Reply Quote 0
                                        • stephenw10S
                                          stephenw10 Netgate Administrator
                                          last edited by

                                          You guys actually have VDSL2+? No jealousy here! 😉

                                          Otherwise the V130 would likely be cheaper.

                                          Steve

                                          P GrimsonG 2 Replies Last reply Reply Quote 0
                                          • P
                                            paoloest @stephenw10
                                            last edited by paoloest

                                            @stephenw10
                                            Sounds like another +1 for the vigor

                                            Vdsl2+ - 3 weeks to go

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