Interface pair view split for policies
There are 2 modes to show policies in FortiOS: "Interface Pair View" and "By Sequence".
"Interface Pair View" categorizes policies by their source and destination interfaces, so it is more straight forward to manage.
However, "Interface Pair View" can only be used when all the policies contain only one interface in both source and destination interface fields. If there are multiple interfaces in a converted policy, "Interface Pair View Split" can split the policy into equivalent policies with single interface.
Please follow the steps below to split the policies:
- Go to the tuning page of policies.
- Click Interface Pair View Check to list all the policies which have multiple source or destination interfaces. (Optional)
- Select the policies you want to split and right click.
- Click Interface Pair View Split.
- Select Options:
- Discard hairpin policies
- Split interface "any" into multiple policies.
Hairpin policies refer to policies from and to the same interface.
For example, a policy from port1 to port1 and port2 can be split into 2 policies: one is from port1 to port1 and the other is from port1 to port2. If this option is enabled, the first policy would be discarded.
This option is enable by default.
If the source or destination interface of a policy is "any", you can choose to either split "any" into a list of interfaces, or not split the policy. If you want to split "any" into a list of interfaces, please select the interface names that represent to "any".
For example, if port1 and port2 are selected, a policy from port1 to any can be split into 2 policies: one is from port1 to port1 and the other is from port1 to port2. If this option is disabled, the policy would not be split.
This option is disable by default. Please note that there may be a lot of policies generated if many interfaces are selected.
- The selected policies will be split.