You are here: Defining your web servers & load balancers > Defining your network services

Defining your network services

Network services define the application layer protocols and port number on which your FortiWeb will listen for web traffic.

Policies must specify either a predefined or custom network service to define which traffic the policy will match. (Exceptions include server policies whose Deployment Mode is Offline Protection.)

See also

Defining custom services

Server Objects > Service > Custom enables you to configure custom services.

Predefined services are available for standard IANA port numbers for HTTP and HTTPS (see Predefined services). If your virtual server will receive traffic on non-standard port numbers, however, you must define your custom service.

To configure a custom service

1.  Go to Server Objects > Service > Custom.

To access this part of the web UI, your administrator’s account access profile must have Read and Write permission to items in the Server Policy Configuration category. For details, see Permissions.

2.  Click Create New.

A dialog appears.

3.  In Name, type a name that can be referenced by other parts of the configuration. Do not use spaces or special characters. The maximum length is 35 characters.

4.  In Port, type the port number of the service (by definition of HTTP and HTTPS, only TCP is available).

The port number must be unique among your custom and predefined services. The valid range is from 0 to 65,535.

5.  Click OK.

6.  To use the custom service definition to define the listening port of a virtual server on the FortiWeb, select it as the HTTP Service or HTTPS Service when configuring a policy (see Configuring a server policy).

See also

Predefined services

Server Objects > Service > Predefined displays the list of predefined services.

Predefined services are according to standard IANA port numbers: TCP port 80 for HTTP and TCP port 443 for HTTPS.

To use the predefined service definition to define the listening port of a virtual server on the FortiWeb, select it as the HTTP Service or HTTPS Service when configuring a policy (see Configuring a server policy).

To access this part of the web UI, your administrator’s account access profile must have Read permission to items in the Server Policy Configuration category. For details, see Permissions.

See also