Skip to main content
akawade
Staff
Staff
October 9, 2020

Technical Tip: How to configure the FortiGuard URL filter

  • October 9, 2020
  • 0 replies
  • 9109 views
Description
This article describes how to configure the FortiGuard URL filter.

Scope
For version 6.4.1 and 6.4.2.

Solution
From the version 6.4.1, FortiMail has feature of FortiGuard URL filter service which allows to choose the categories of URL in the email body which can be checked, rewrite, or block.
Then the filters can be used in the anti spam profiles.

To configure a URL category profile.

1) Go to Security -> URL Filter -> Category.
2) Select 'Create New'.
3) Enter a profile name.
4) Select the URL categories to check in the email body.
5) Select 'Create'.

URL types.

There are two types of URLs:
- Absolute URLs strictly follow the URL syntax and include the URL scheme names, such as 'http', 'https', and 'ftp'. For instance, http://www.example.com.
- Reference URLs do not contain the scheme names. For instance, example.com.

By default, FortiMail scans for absolute URLs.
Find below the CLI command to change the default setting.
# config antispam settings
    set uri-checking {aggressive | strict}
end
- aggressive: Choose this option to scan for both the absolute and reference URLs.
- strict: Choose this option to scan for absolute URLs only. Note that web sites without http', 'https' but starting with 'www' are also treated as absolute URLs. For instance, www.example.com.

How to configure the URL exempt list.
To exempt URLs from FortiGuard URL and web filter, add the URLs to the exempt list is possible.

To configure the URL exempt list.

1) Go to Security -> URL Filter -> Exempt.
2) Select 'New'.
3) Enter an exempt pattern. The pattern can use wildcards (default) or regular expressions.
4) Select 'Create'.

Related document.
https://docs.fortinet.com/document/fortimail/6.4.1/administration-guide/582465/configuring-security-settings

Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
Fortinet Flag the Hack. Wednesday, August 26, 9:00 AM - 5:00 PM ET, COSM, Atlanta, GA.