Skip to main content
Stephen_G
Staff & Editor
Staff & Editor
Dec 19, 2022 2:24 PM UTC

Technical Tip: Configuring user-based traffic usage quotas with Web Filter

  • Apr 16, 2026 12:12 PM UTC
  • 0 replies
  • 1579 views
  • Translate All
Description This article explains how to configure per-user traffic usage quotas on the FortiGate using a Web-Filter profile.
Scope FortiGate.
Solution

This article assumes an example configuration, where the WAN IP is 41.1.12.112/32 and the Internal IP is 172.16.3.0/24. 

 

Create a web filter profile

 

Create a proxy-based web filter profile similar to the following, allocating the desired usage quota:

 

Stephen_G_2-1671458673502.png

 

Stephen_G_3-1671458765398.png

 

Stephen_G_4-1671458811824.png

 

Stephen_G_7-1671458929462.png

 

Stephen_G_8-1671458979762.png

 

To configure Web Filte profile in the CLI: 

 

config webfilter profile

edit "bandwidth_capping"

set feature-set proxy

config ftgd-wf

config quota

edit 1 

set category g01 g02 g04 g05 g06 g07 g21 140 141

set type traffic 

set unit MB 

set value 10000

next 

end

end

next 

end 

 

Note: To select a category under 'Category Usage Quota', that category must be set to 'Monitor' under 'FortiGuard Category Based Filter'.

 

Next, apply the web filter policy during the creation of a firewall policy as described in Technical Tip: User based policy not working.

 

If configured correctly, user-based traffic usage quota will be applied. Users will need to log in to use the network, allowing the cap to take effect.

Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024