Fortinet white logo
Fortinet white logo

Administration Guide

Create or edit a service

Create or edit a service

Select Create New > Service to open the New Service window.

To open the Edit Service window, select a service and then click Edit.

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

Name

Enter a name for the custom service.

Comments

Optionally, enter a description of the service.

Service Type

Select the service type: Firewall or Explicit Proxy.

Color

Select Change to choose a color for the icon.

Show in Service List

Enable to show the service in the service list.

Category

Select the category for the service: Uncategorized; Application; General; Web Access; File Access; Email; Network Services; Authentication; Remote Access; Tunneling, VoIP, Messaging & Other Applications; or Web Proxy.

You can create new service categories. See Create a service category.

Protocol Type

Select the type of protocol for the service.

  • If Service Type is Firewall, select one of: TCP/UDP/SCTP, ICMP, ICMP6, or IP.

  • If Service Type is Explicit Proxy, select one of: ALL, CONNECT, FTP, HTTP, SOCKS_TCP, or SOCKS_UDP.

Address

Select IP Range or FQDN and then enter the range of IP addresses or the FQDN for the service. Separate IP addresses with a hyphen.

Destination Port

Select TCP, UDP, or SCTP and then enter a range of port numbers.

Specify Source Ports

Enable and then enter a range of port numbers.

Type

Enter the ICMP type number for the ICMP protocol configuration.

This option is only available if Protocol Type is set to ICMP or ICMP6.

Code

Enter the ICMP code number for the ICMP protocol configuration.

This option is only available if Protocol Type is set to ICMP or ICMP6.

Protocol Number

Enter the protocol number for the IP protocol configuration.

This option is only available if Protocol Type is set to IP.

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 service

Create or edit a service

Select Create New > Service to open the New Service window.

To open the Edit Service window, select a service and then click Edit.

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

Name

Enter a name for the custom service.

Comments

Optionally, enter a description of the service.

Service Type

Select the service type: Firewall or Explicit Proxy.

Color

Select Change to choose a color for the icon.

Show in Service List

Enable to show the service in the service list.

Category

Select the category for the service: Uncategorized; Application; General; Web Access; File Access; Email; Network Services; Authentication; Remote Access; Tunneling, VoIP, Messaging & Other Applications; or Web Proxy.

You can create new service categories. See Create a service category.

Protocol Type

Select the type of protocol for the service.

  • If Service Type is Firewall, select one of: TCP/UDP/SCTP, ICMP, ICMP6, or IP.

  • If Service Type is Explicit Proxy, select one of: ALL, CONNECT, FTP, HTTP, SOCKS_TCP, or SOCKS_UDP.

Address

Select IP Range or FQDN and then enter the range of IP addresses or the FQDN for the service. Separate IP addresses with a hyphen.

Destination Port

Select TCP, UDP, or SCTP and then enter a range of port numbers.

Specify Source Ports

Enable and then enter a range of port numbers.

Type

Enter the ICMP type number for the ICMP protocol configuration.

This option is only available if Protocol Type is set to ICMP or ICMP6.

Code

Enter the ICMP code number for the ICMP protocol configuration.

This option is only available if Protocol Type is set to ICMP or ICMP6.

Protocol Number

Enter the protocol number for the IP protocol configuration.

This option is only available if Protocol Type is set to IP.

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.