Limiter - Max Up + Down but Shared?
-
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: NoneCreate a new queue
Name: UploadQueue
Mask: Source addressesCreate a new queue
Name: DownloadQueue
Mask: DestinationAddressesAssign 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.
-
So I would do the following:
Create Overall Pipe
Name: 24MbpsLimiter
Bandwidth: 22Mbps
Schedule: None
Mask: NoneCreate a new queue
Name: UploadQueue
Mask: Source addressesCreate a new queue
Name: DownloadQueue
Mask: DestinationAddressesAssign 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.