Fortinet black logo

Administration Guide

Create or edit a PAC policy

Create or edit a PAC policy

Select Create New to open the Create PAC Policy window. To change a PAC policy, select a policy and then click Edit.

Configure the following settings in the Create PAC Policy window or the Edit PAC Policy window and then click OK:

Policy ID

Enter the PAC policy identifier.

Status

Click Enable to make the policy active.

Original Address

Enter the source IPv4 address of the initiating traffic.

Source Address IPv6

Enter the source IPv6 address of the initiating traffic.

Destination Address

Enter the destination address that the policy matches.

Pac File Name

Enter the name of the PAC file.

Comments

Enter an optional description of the PAC policy.

PAC File Content

Type or copy and paste a PAC file.

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 PAC policy

Select Create New to open the Create PAC Policy window. To change a PAC policy, select a policy and then click Edit.

Configure the following settings in the Create PAC Policy window or the Edit PAC Policy window and then click OK:

Policy ID

Enter the PAC policy identifier.

Status

Click Enable to make the policy active.

Original Address

Enter the source IPv4 address of the initiating traffic.

Source Address IPv6

Enter the source IPv6 address of the initiating traffic.

Destination Address

Enter the destination address that the policy matches.

Pac File Name

Enter the name of the PAC file.

Comments

Enter an optional description of the PAC policy.

PAC File Content

Type or copy and paste a PAC file.

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.