Fortinet white logo
Fortinet white logo

Administration Guide

Create or edit a traffic-shaping policy

Create or edit a traffic-shaping policy

Select Create New to open the Create Shaping Policy window. To change a traffic-shaping policy, select a policy and then click Edit.

Configure the following settings in the New Shaping Policy window or the Edit Shaping Policy window and then click OK:

IP Version

Select IPv4 or IPv6.

Status

Policies are enabled by default. To disable to policy, click Disabled.

Comment

Enter any additional information that might be needed by administrators, as a reminder of the policyʼs purpose and scope. This setting is optional.

Source

Select or create the source address, address group, user, or user group that the traffic must match. You can select multiple sources in multiple categories.

Destination

Select or create the destination address or address group that the traffic must match. You can select multiple destinations in both categories.

Service Type

Select whether firewall services or Internet services are used for this policy.

Firewall Service

If you selected Firewall Service as the service type, select one or more firewall services that the traffic must match.

Internet Service

If you selected Internet Service as the service type, select one or more Internet services that the traffic must match.

Users

Select one or more users that the traffic must match.

Groups

Select one or more user groups that traffic must match.

Outgoing Interface

Set this to the external interface that the traffic must match.

class-id

The class ID of a traffic shaper for outgoing packets.

class-id-reverse

The class ID of a traffic shaper for incoming packets.

Shared shaper

Enable or disable Shared traffic shaper 7.2.4.

Reverse shaper

Enable or disable reverse traffic shapers.

Per-IP shaper

Enable or disable Per-IP traffic shaper 7.2.4.

API Preview

The API Preview allows you to view all REST API requests being used by the page. You can make changes on the page that are reflected in the API request preview. This feature is not available if the user is logged in as an administrator that has read-only GUI permissions.

To use the API Preview:
  1. Click API Preview. The API Preview pane opens, and the values for the fields are visible (data). If a new object is being created, the POST request is shown.
  2. Enable Show modified changes only to show the modified changes instead of the full configuration in the preview.
  3. Click Copy to Clipboard to copy the JSON code shown on the preview screen to the clipboard.
  4. Click Close to leave the preview.

Create or edit a traffic-shaping policy

Create or edit a traffic-shaping policy

Select Create New to open the Create Shaping Policy window. To change a traffic-shaping policy, select a policy and then click Edit.

Configure the following settings in the New Shaping Policy window or the Edit Shaping Policy window and then click OK:

IP Version

Select IPv4 or IPv6.

Status

Policies are enabled by default. To disable to policy, click Disabled.

Comment

Enter any additional information that might be needed by administrators, as a reminder of the policyʼs purpose and scope. This setting is optional.

Source

Select or create the source address, address group, user, or user group that the traffic must match. You can select multiple sources in multiple categories.

Destination

Select or create the destination address or address group that the traffic must match. You can select multiple destinations in both categories.

Service Type

Select whether firewall services or Internet services are used for this policy.

Firewall Service

If you selected Firewall Service as the service type, select one or more firewall services that the traffic must match.

Internet Service

If you selected Internet Service as the service type, select one or more Internet services that the traffic must match.

Users

Select one or more users that the traffic must match.

Groups

Select one or more user groups that traffic must match.

Outgoing Interface

Set this to the external interface that the traffic must match.

class-id

The class ID of a traffic shaper for outgoing packets.

class-id-reverse

The class ID of a traffic shaper for incoming packets.

Shared shaper

Enable or disable Shared traffic shaper 7.2.4.

Reverse shaper

Enable or disable reverse traffic shapers.

Per-IP shaper

Enable or disable Per-IP traffic shaper 7.2.4.

API Preview

The API Preview allows you to view all REST API requests being used by the page. You can make changes on the page that are reflected in the API request preview. This feature is not available if the user is logged in as an administrator that has read-only GUI permissions.

To use the API Preview:
  1. Click API Preview. The API Preview pane opens, and the values for the fields are visible (data). If a new object is being created, the POST request is shown.
  2. Enable Show modified changes only to show the modified changes instead of the full configuration in the preview.
  3. Click Copy to Clipboard to copy the JSON code shown on the preview screen to the clipboard.
  4. Click Close to leave the preview.