Created on 10-31-2019 02:40 AM Edited on 11-27-2024 12:47 AM By Jean-Philippe_P
Description
This article explains how to apply traffic-shaping in a firewall policy.
Scope
Any supported version of FortiGate.
In FortiOS version 5.2, traffic shaping was configured over the firewall policy.
By default, if the intention was to apply traffic shaping, it was only necessary to create a shaper and direct it to a firewall policy.
From 5.6 FortiOS versions there is no option to create a shaper for a firewall policy in the GUI. This can only be done through the CLI.
Solution
Traffic shaping in a firewall policy needs to be configured using the CLI. There is currently no method to enable traffic shaping in the GUI. After adding, it will be possible to modify the policy in the GUI.
If traffic shaping is removed through the GUI and the firewall policy has been saved, it will be necessary to use the CLI to create it again.
set traffic-shaper <shaper> command applies to the traffic from ingress to egress direction, meaning it will affect the upload speeds and outbound traffic.
set traffic-shaper-reverse <shaper> command applies to the traffic from egress to ingress direction, meaning it will affect the download speeds and the inbound traffic.
Follow the steps below to create traffic shaping in a firewall policy:
Related articles:
Technical Tip: How to configure and check which traffic shaper is used
Technical Tip: Monitoring 'Traffic Shaping'
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.