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 (HTTPs://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xml) for HTTP and HTTPS. For details, 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
- Go to Server Objects > Service and select the Custom tab.
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. - Click Create New.
- In Name, type a name that can be referenced by other parts of the configuration. The maximum length is 63 characters.
- In Protocol, only TCP is available.
- In Port, type the ports or port ranges separated by space, for example, 80-90 150.
You can specify up to 8 port or port range entries, and a maximum number of 128 ports are supported. The valid range is from 1 to 65,535. - Click OK.
- 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. For details, see Configuring a server policy.
See also
Predefined services
Go to Server Objects > Service. The Predefined tab displays the list of predefined services.
Predefined services are according to standard IANA port numbers (HTTPs://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xml): TCP port 80 for HTTP, TCP port 443 for HTTPS, TCP port 49334 for TLSCLIENTPORT, TCP port 21 for FTP, and TCP port 990 for FTPS.
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. For details, 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.