Quantcast
Channel: Fortinet Cookbook
Viewing all articles
Browse latest Browse all 690

Introducing NGFW policy-based mode

$
0
0

You can operate your FortiGate or individual VDOMs on your FortiGate in Next Generation Firewall (NGFW) mode when you select flow-based inspection. In the new FortiOS 5.6 NGFW policy-based mode, you can add applications and web filtering categories directly to a policy without having to first create and configure Application Control or Web Filtering profiles. If a URL category is set, the applications that are added to the policy must be within the browser-based technology category.

NGFW policy-based mode applies the NAT settings from matching Central SNAT policies. If you don’t already have a Central SNAT policy in place, you will have to create one.

This recipe demonstrates a basic configuration of blocking Facebook using the new NGFW policy-based mode.

1. Configuring your FortiGate for NGFW policy-based mode

Go to the System > Settings page and scroll down to Operations Settings. Select Flow-based Inspection Mode.

Select Policy-based as the NGFW mode.

Select an SSL/SSH Inspection certificate.

 

2. Creating a Central SNAT Policy

Under Policy & Objects, go to Central SNAT and select Create New.

Set Incoming Interface to the local network interface. Set Outgoing Interface to your Internet-facing interface.

Set IP Pool Configuration to Use Outgoing Interface Address and Protocol to ANY.

 

3. Creating an IPv4 policy to block Facebook

Go to Policy & Objects > IPv4 and create a new policy.

Set Incoming Interface to the local network interface. Set Outgoing Interface to your Internet-facing interface. 

 

Under Application, click on the plus sign. Type Facebook in the search field.

 

 

Add all the Facebook applications to the policy. Set the Action to DENY. 

Enable Log Violation Traffic to see results later. You can disable this feature later to conserve network resources.

4. Ordering the policy table

Go to Policy & Objects > IPv4 Policy to view the policy table.

In order to have the correct traffic flowing through each policy, they must be arranged so that the more specific policies are located at the top.

 

To rearrange the policies, select the column on the far left (in the example, Seq.#) and drag the policy to the desired position.

5. Results

Browse to www.facebook.com. Your connection will time out.

Go to FortiView >  Threats.

You can see the traffic blocked by the firewall policy.

 

For further reading, check out the What’s New in FortiOS 5.6 and the Central SNAT section in the Firewall chapter of the FortiOS 5.6 Handbook.

 

 

 

NGFW profile-based mode operates like the standard flow mode under FortiOS 5.4.

The post Introducing NGFW policy-based mode appeared first on Fortinet Cookbook.


Viewing all articles
Browse latest Browse all 690

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>