Manage your Bandwidth
PFSense is by far one of the best gateway solutions out there in my opinion. I am going to show you one of the many reasons why I think this product is best of breed and that is the Bandwidth limiter. PFSense uses Free BSD as it base, it has included the DummyNet software project which allows you to simulate/enforce queues and bandwidth limitations, delays, packet losses, and multipath effects, it also implements a variant of Weighted Fair Queueing called WF2Q+. Now that may sound like a lot of reading to get up to speed with but I assure you it is quite easy to set up and maintain, let me show you how.
First off I will take a bandwidth test to see what I get as unregulated bandwidth. I have a cable service from Brighthouse that is 50Mb download and 5 Mb upload.
The image tells the tale, I am getting 50/5 as and result of my speed test using Brighthouse’s Speed test. Now let’s get started with our limiting, we will need to create a Upload and a Download limit we want to apply to each system on the LAN then create one Firewall rule to force the systems on the LAN to follow the limits.
Lets get started:
First we need to find our Limiter Web GUI area in PFSense. This is located under the Firewall Tab -> Traffic Shaper, the 3rd tab is called Limiter.
Next we are going to select Create new limiter , Let’s call it LimitUPLan
- Click Enable
- Set name to LimitUpLan
- Set Bandwidth allowed (1mb)
- Mask Source Address
- Give a description
- Save
- Click Enable
- Set name to LimitDownLan
- Set Bandwidth allowed (3Mb)
- Mask Source Addresses
- Add Description
- Save
- Action Pass
- Interface LAN
- Protocol Any
- Source LAN Subnet
- Destination Any
- Description
Select the Advance button under the In/Out feature, from the drop down menus select the 2 queues you created (In = Uploads) and (Out = Download). Save and apply the firewall rule and re-test your bandwidth usage.
Bandwidth Now Limited
That’s the whole process from start to finish. At this point you should have a rate limit of 3mb per LAN user downstream and 1 MB per LAN user upstream.
That is part of the power built-in to PFSense and the BSD platform. Now go off and limit someone today!
Cubert 😎







