|Description||This article describes how to setup a single server policy with multiple ports.
It is maybe necessary to preconfigure other respective server policy setup and refer to the documentation at the end of this article for more information on configuring the server policy.
|Scope||FortiWeb and FortiWeb VM.|
It is necessary to set up a single server policy with multiple ports.
For example, there is a requirement to setup website access as below:
One option is to set up multiple server policies and specify the port accordingly.
Another option is to set up a single server policy with multiple ports.
The Custom Service feature may be used for the requirement.
1) Create Custom Service:
- Go to Server Objects -> Service -> Custom (tab).
2) Apply the custom port at the respective server policy accordingly (HTTP or HTTPS). For this example, HTTPS is used.
# config server-policy service custom
# config server-policy policy
Refer to the below documentation for more information on configuring server policy:
Refer to the below documentation for more information on customer service