FortiOS 6 – ICAP Support

Offloading using ICAP

If you enable ICAP in a security policy, HTTP traffic intercepted by the policy is transferred to an ICAP server in the ICAP profile added to the policy. Responses from the ICAP server are returned to the FortiGate unit which forwards them to an HTTP client or server.

You can offload HTTP responses or HTTP requests (or both) to the same or different ICAP servers.

If the FortiGate unit supports HTTPS inspection, HTTPS traffic intercepted by a policy that includes an ICAP profile is also offloaded to the ICAP server in the same way as HTTP traffic.

When configuring ICAP on the FortiGate unit, you must configure an ICAP profile that contains the ICAP server information; this profile is then applied to a security policy.

Configuring ICAP

You will need to configure an ICAP server and an ICAP profile.

ICAP servers

  1. Go to Security Profiles > ICAP Servers and click on Create New.
  2. Enter a Name for the server.
  3. Enter the server’s IP Address. Depending on whether you’ve set the IP version to 4 or 6 will determine the format that the content of this field will be set into. In the GUI it looks like the same field with a different format but in the CLI it is actually 2 different fields named “ip-address” and ip6-address.
  4. Set the Port; 1344 is default TCP port used for the ICAP traffic. The range can be from 1 to 65535.

Maximum Connections

This value refers to the maximum number of concurrent connections that can be made to the ICAP server. The default setting is 100. This setting can only be configured in the CLI.

The syntax is:

config icap server edit <icap_server_name> set max-connections <integer> end

Profiles

  1. Go to Security Profiles > ICAP and click on Create New.
  2. Enter a Name for the server.
  3. Enable settings as required.

 

  1. Enable Request Processing allows the ICAP server to process request messages. If enabled this setting will also require:
  • Server – This is the name of the ICAP server. It is chosen from the drop down menu in the field. The servers are configure in the Security Profiles > ICAP > Server section.
  • Path – This is the path on the server to the processing content. For instance if the Windows share name was

“Processes” and the directory within the share was “Content-Filter” the path would be “/Processes/Content-Filter/” l On Failure – There are 2 options: Error or Bypass.

  1. Enable Response Processing allows the ICAP server to process response messages. If enabled this setting will also require:
  • Server – This is the name of the ICAP server. It is chosen from the drop down menu in the field. The servers are configure in the Security Profiles > ICAP > Server section.
  • Path – This is the path on the server to the processing compent. For instance if the Windows share name was

“Processes” and the directory within the share was “Content-Filter” the path would be “/Processes/Content-Filter/” l On Failure – There are 2 options. You can choose by the use of radio buttons either Error or Bypass.

  1. Enable Streaming Media Bypass allows streaming media to ignore offloading to the ICAP server.
  2. Select Apply.


Having trouble configuring your Fortinet hardware or have some questions you need answered? Check Out The Fortinet Guru Youtube Channel! Want someone else to deal with it for you? Get some consulting from Fortinet GURU!

This entry was posted in Administration Guides, FortiOS 6 and tagged , , on by .

About Mike

Michael Pruett, CISSP has a wide range of cyber-security and network engineering expertise. The plethora of vendors that resell hardware but have zero engineering knowledge resulting in the wrong hardware or configuration being deployed is a major pet peeve of Michael's. This site was started in an effort to spread information while providing the option of quality consulting services at a much lower price than Fortinet Professional Services. Owns PacketLlama.Com (Fortinet Hardware Sales) and Office Of The CISO, LLC (Cybersecurity consulting firm).

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.