Limit bandwidth per IP Pfsense

In a perfect world, all users on the network use the bandwidth fairly and everyone is happy. If there is a “PEST” on your network hogging all the bandwidth, then follow this guide to limit bandwidth for a particular IP address on your network.

Step 1 – Create download limiter

Create a firewall limiter for the download bandwidth you would like to limit the IP address to.

Firewall -> Traffic shaper -> Limiter -> Create a new limiter

Tick “Enable limiter and its children”. Give the limiter the name “DownloadLimit

Step 2 – Create upload limiter

Create a firewall limiter for the upload bandwidth you would like to limit the IP address to.

Firewall -> Traffic shaper -> Limiter -> Create a new limiter

Tick “Enable limiter and its children”. Give the limiter the name “UploadLimit

Step 3 – Create firewall rule

Create a firewall rule, which will apply the limiters created in steps 1 and 2 to the IP address in question.

Firewall -> Rules -> Click LAN tab -> Click "first little plus image"

Leave everything as is, and change the following:

Protocol* *TCP / UDP
SourceChange “Type” to “Single host or alias” and insert the IP address of the “PEST”
DescriptionEnter “Limit PEST bandwidth”
Set the limiters in the In/Out section under the “Advanced features” heading. This is towards the bottom of the screen. The first selection (In) must be the UploadLimiter, and the second selection (Out) must be DownloadLimiter.

Save -> Apply changes

Ensure that this rule is above all other rules on the LAN interface.

That’s it! No more PEST 🙂