Fortigate Firewall Policies:: Created by Ahmad Ali E-Mail:, Mobile: 056 430 3717
Fortigate Firewall Policies:: Created by Ahmad Ali E-Mail:, Mobile: 056 430 3717
o Without all six of these things matching, the traffic will be declined by the Firewall.
o Each traffic flow in Firewall requires a policy and the direction is important as well.
o Packets go from one point to another point on port X does not mean traffic back flow.
o A policy must be configured in FortiGate Network Unit Firewall for each direction.
o When designing policy in FortiGate Firewall there is often reference to the traffic flow.
o But most communication is a two-way connection so trying to determine the direction.
o If traffic is HTTP or HTTPS web traffic the user sends a request to the web site server.
o However, most of the traffic flow will be coming from the web site server to the user.
o Is traffic flow considered to be from user to website, website to user or both directions.
o For purposes of determining direction for a policy the important factor is the direction.
o User is sending a request to website, so this is the initial communication and web site.
o Just responding to it so the traffic will be from the users network to the Internet outside.
o A case where either side can initiate communication like between two internal interfaces.
o On FortiGate unit would be a more likely situation to require a policy for each direction.
Policy Views:
Interface Pair View:
o Interface Pair View displays policies in order that they are checked for matching traffic.
o Interface Pair View in Firewall grouped by the pairs of Incoming & Outgoing interfaces.
o For example, all the policies referencing traffic from LAN to WAN are in the one section.
o The policies referencing traffic from the DMZ to WAN are in another section in Firewall.
o The sections are collapsible so that you can only need to look at the sections you want.
o In FortiGate (NGFW) Network Unit Firewall the default display is th Interface Pair View.
o Can switch between two views except if any or multiple-interfaces are applied in policy.
o If it is grayed out, likely that one or more policies have used any or multiple-interfaces.
By Sequence:
By Sequence displays policies in order that they are checked for matching the traffic.
By Sequence displays policies in Firewall are in order of matching without any grouping.
The FortiGate unit automatically changes the view on the policy list page to By Sequence.
Whenever there is a policy containing any or multiple-interfaces as Source or Destination.
Policy Lookup:
o Policy lookup is based on Source_interfaces/Protocol/Source_Address/Destination_Address
o Policy Lookup that matches the source-port and destination-port of the given protocol.
o Use this tool to find out which policy matches specific traffic from a number of policies.
o After completing lookup, matching firewall policy is highlighted on the policy list page.
o This example uses to show how the TCP protocol to show how policy lookup works.
o In Policy & Objects policy list page, click Policy Lookup and enter the traffic parameters.
After enabling the feature, adding multiple interfaces or 'any' in a firewall policy on the
Graphical User Interface (GUI) is allowed and display.
Search Policy:
Type any word of policy name, port number, source, destination, service etc to search.
0 policy in the end is the default policy, which deny everything by default, cannot be deleted.
Disable policy is grayed out with red cross mark and the visible policy is enable.