Chapter 15 Unified Threat Management for FortiOS 5.0 : Application control : Enable application control : Enabling application traffic shaping
  
Enabling application traffic shaping
Enabling traffic shaping in an application sensor involves selecting the required shaper. You can create or edit shapers in Firewall Objects > Traffic Shaper > Shared.
To enable traffic shaping
1. Go to Security Profiles > Application Control > Application Sensors.
2. Select an application sensor from the drop-down list in the Edit Application Sensor window title bar.
3. Select the application control list entry and choose Edit.
4. Select Traffic Shaping and choose the required traffic shaper from the list.
If the action is set to Block, the traffic shaping option is not available. Only allowed traffic can be shaped.
5. Select Reverse Direction Traffic Shaping and choose the required traffic shaper from the list if traffic flowing in the opposite direction also requires shaping.
6. Select OK.
Any security policy with this application sensor selected will shape application traffic according to the applications specified in the list entry and the shaper configuration.