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

Quick question about limiters

2.5 Development Snapshots (Retired)
3
16
1.6k
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.
  • M
    maverick_slo
    last edited by Jul 21, 2019, 6:40 AM

    Hi all!

    I use todays snapshot of pfsense.
    I have set up limiters on WAN iface which is PPPoE.
    When I do that all traffic stops. All outbound from LAN to internet is stopped.

    If I apply same floating rule to LAN, everything works. But I need to apply limiter on WAN directly.

    If I use limiter on LAN there is a traffic difference, see attached image.
    On LAN traffic is properly limited to 80 Mbits but on WAN traffic goes up till 89 or 91 Mbits which is not OK.

    Any ideas why this is happening?

    Thanks!login-to-view

    1 Reply Last reply Reply Quote 0
    • M
      maverick_slo
      last edited by Jul 22, 2019, 4:13 PM

      Created a redmine ticket for this.
      I believe it`s a regression: https://redmine.pfsense.org/issues/9643

      1 Reply Last reply Reply Quote 0
      • M
        maverick_slo
        last edited by Jul 24, 2019, 6:31 AM

        Yes, limiters are semi-broken on 2.5.0 when on Hyper-v at least. Didn`t test on real hardware.

        Also traffic shaper errors are back on 2.5.0, hn0 does not support ALTQ.
        So this one is back and needs to be corrected again: https://redmine.pfsense.org/issues/8954#change-41006

        I also think that those 2 problems are related.

        But I still wish to know, why if I limit to 80Mbit/s traffic on wan slowly rises to 90Mbit/s but on LAN it stays on 80Mbit/s. Overhead? This happens only with torrents, HTTP download does not cause WAN to slowly rise....

        Thanks all!

        1 Reply Last reply Reply Quote 0
        • A
          askmyteapot
          last edited by Jul 25, 2019, 4:53 AM

          https://forum.netgate.com/post/832477
          See if setting it up that way helps at all.

          1 Reply Last reply Reply Quote 0
          • M
            maverick_slo
            last edited by Jul 25, 2019, 8:41 AM

            I want to have it set on WAN only... Now I have it on LANs and limiters are working OK. But I rather see limiter on WAN.

            The other thing that is bothering me is, why on LAN there is 80Mbit/s and on WAN after 3-5 minutes is 87 Mbit/s... It slowly rises from limited 80 to 90 Mbit/s.

            @jimp any idea why is that? pppoe maybe?

            1 Reply Last reply Reply Quote 0
            • M
              maverick_slo
              last edited by Jul 29, 2019, 3:30 PM

              Can someone test if it behaves the same for you?
              Thanks!

              1 Reply Last reply Reply Quote 0
              • W
                w0w
                last edited by Jul 30, 2019, 5:28 AM

                Steps to reproduce?

                1 Reply Last reply Reply Quote 0
                • M
                  maverick_slo
                  last edited by Jul 30, 2019, 5:31 AM

                  For limiters to sto traffic just set them up and apply floating rule on wan.

                  For traffic difference start torrent client and wait up to 5 minutes and observe if wan goes above defined limit.

                  W 1 Reply Last reply Jul 30, 2019, 5:49 AM Reply Quote 0
                  • W
                    w0w @maverick_slo
                    last edited by Jul 30, 2019, 5:49 AM

                    @maverick_slo
                    Please provide more details for floating rule, applying on WAN, maybe screenshot is better?
                    Thanks.

                    1 Reply Last reply Reply Quote 0
                    • M
                      maverick_slo
                      last edited by Jul 30, 2019, 6:28 AM

                      OK, so like this:

                      Action: match
                      Quick: DO NOT tick
                      Direction: OUT
                      Protocol: ANY
                      Then in advanced:
                      Gateway: select your gateway
                      In / Out pipe: WAN_UP_Q / WAN_DOWN_Q (those are queues in limiters)

                      And thats about it.
                      If traffic stops you have the same probelm as I do if not you`re on 2.4.4 :)

                      W 1 Reply Last reply Jul 30, 2019, 4:19 PM Reply Quote 0
                      • W
                        w0w @maverick_slo
                        last edited by w0w Jul 30, 2019, 4:28 PM Jul 30, 2019, 4:19 PM

                        @maverick_slo
                        Yes I can confirm. Traffic stops immediately. (2.5.0-DEVELOPMENT (amd64)
                        built on Mon Jul 29 17:15:22 EDT 2019 )
                        For the second one, I can tell that I have problems with limiters since 2.4.4 released, it's working but not as expected by me. I did not reported it, because I think my ISP changed something in the same time, I do not have bufferbloat anymore without limiters and I got it when enabled it once again.
                        Anyway I can test speed difference later this week.

                        1 Reply Last reply Reply Quote 0
                        • M
                          maverick_slo
                          last edited by Jul 30, 2019, 4:29 PM

                          Ok cool, thanks. I did report it and when I use them on lan, direction in they work ok, but there is traffic difference. Maybe its expected but it only happens with torrents so far.

                          1 Reply Last reply Reply Quote 0
                          • W
                            w0w
                            last edited by Jul 31, 2019, 6:14 AM

                            Ok, I used floating rule for LAN, direction in. What I see immediatelly is that internet slows down and I have C rating on dslreports.com for bufferbloat.
                            Tested with 5 porn torrents, after 20 minutes it's went over 150mbit. The limiter is set to 100.

                            1 Reply Last reply Reply Quote 0
                            • M
                              maverick_slo
                              last edited by Jul 31, 2019, 8:14 AM

                              Yeah thats bad :(
                              But at least porn torrents will be DL-ed faster :)

                              1 Reply Last reply Reply Quote 0
                              • M
                                maverick_slo
                                last edited by Aug 13, 2019, 7:54 PM

                                This is really annoying.

                                Why WAN differs so much comparing to LAN?
                                This is after 2 minutes of torrenting. Limited to 75 Mbit/s.

                                login-to-view

                                And this one after 6 minutes.
                                login-to-view

                                LAN stays at 75Mbit/s and WAN goes up to 85 Mbit/s.

                                Why?

                                1 Reply Last reply Reply Quote 0
                                • W
                                  w0w
                                  last edited by Aug 14, 2019, 7:14 AM

                                  I have physical interface ix0 where I have ISP LAN ("ISP_LAN") DHCP 172.x.x.x assigned and also PPPoE ( "WAN" external IP) over it. When I look at Status / Interfaces or Statistics on dashboard all looks recent, PPPoE (named WAN) have huge amount of traffic and ISP_LAN have none or a couple of kbytes. When I look at Status / Traffic Graph then both WAN and ISP_LAN are virtually same, but WAN shows IP addresses and ISP_LAN not.
                                  I don't know is it "by design" or there is something broken.

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