Fortinet 274 FortiWeb 5.0 Patch 6 Administration Guide
5. In Interface, select the network interface or bridge to which the virtual server is bound, and
where traffic destined for the virtual server will arrive. To configure an interface or bridge, see
“Network interface or bridge?” on page 111.
6. Click OK.
7. To define the listening port of the virtual server, create a custom service (see “Defining your
network services” on page 274).
8. To use the virtual server, select both it and the custom service in a server policy (see
“Configuring a server policy” on page 483).
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
Predefined services

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” on page 275). 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” on page 47.
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.