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

    Limiter - Max Up + Down but Shared?

    Scheduled Pinned Locked Moved Traffic Shaping
    2 Posts 2 Posters 776 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.
    • M
      mevans336
      last edited by

      I'd like to create a limiter that never allows more than 24Mbps to be used total, upload or download, but allows a single upload or download to use all 24Mbps, if there isn't a transfer in a competing direction. Basically, limit my ipsec tunnel to 24Mbps, but allow the full 24Mbps to be used by a single upload, download, or shared if both are taking place. (This is a 95% billed pipe.)

      I think what I want is a flexible limiter, like is outlined here: https://www.reddit.com/r/PFSENSE/comments/3e67dk/flexible_vs_fixed_limiters_troubleshooting_with/

      So I would do the following:

      Create Overall Pipe
      Name: 24MbpsLimiter
      Bandwidth: 22Mbps
      Schedule: None
      Mask: None

      Create a new queue
      Name: UploadQueue
      Mask: Source addresses

      Create a new queue
      Name: DownloadQueue
      Mask: DestinationAddresses

      Assign UploadQueue to In and the DownloadQueue to Out for the default (and only) rule on my ipsec tunnel.

      Does this sound correct?

      edit: I created this, started a file transfer from two different machines, and it allowed 22Mbps to be used in each direction, or 44Mbps total.

      1 Reply Last reply Reply Quote 0
      • NogBadTheBadN
        NogBadTheBad
        last edited by

        @mevans336:

        So I would do the following:

        Create Overall Pipe
        Name: 24MbpsLimiter
        Bandwidth: 22Mbps
        Schedule: None
        Mask: None

        Create a new queue
        Name: UploadQueue
        Mask: Source addresses

        Create a new queue
        Name: DownloadQueue
        Mask: DestinationAddresses

        Assign UploadQueue to In and the DownloadQueue to Out for the default (and only) rule on my ipsec tunnel.

        Sounds about right, I limit my GUEST WiFi and just had a play with speediest.net wit one device then two.

        Limited my download & upload to 5 Mbps, one device & speedtest = 5 Mbps two devices & speedtest = 2.5 ish mbps

        You can do funky stuff with the masks, but mine are set to 32 & 128.

        Actually I think thats the guide I used.

        Andy

        1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

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