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 ,
define:
- Click Enable
- Set name to LimitUpLan
- Set Bandwidth allowed (1mb)
- Mask Source Address
- Give a description
- Save
Now lets create another Limiter, Let’s call it LimitDownLAN
- Click Enable
- Set name to LimitDownLan
- Set Bandwidth allowed (3Mb)
- Mask (none)
- Add Description
- Save
Now we should have 2 Limiters available to us when we go to make the Firewall
rule. We set in the limiters to mask the source address. This tells
PFSense to create a unique queue for each Source address on the LAN
side. If we left this set to none then we
would have just 1 queue limited to 3Mb for all users on the LAN thus
taking a 50Mb service and making it a 3Mb service. That is not what we
want here, we want to limit each user to 3 MB each so no one person can
abuse our 50 Mb service. We could have 10 users all streaming 3Mb each
for a total of 30 Mb of download per second and giving us 20 Mb still
available.
Now lets start limiting our LAN systems.
We need to make this rule above any allow rule that allows TCP
and/or UDP. If we place it below an allow rule then that rule will take
precedence over the rule we want to force our limits on. In this example
I have placed rule on my LAN tab as rule #2 above the bottom rule which
allows all my traffic out.
Let’s add a new rule:
- Action Pass
- Interface LAN
- Protocol Any
- Source Network or what ever
- Destination Any
- Description
then test speed with speedtest.net
=================================http://www.squidworks.net/2012/08/pfsense-2-0-limiting-users-upload-and-download-speeds-by-limiting-bandwidth/