Fortinet Document Library

Version:


Table of Contents

New Features

7.0.0
Download PDF
Copy Link

Add categories for URL shortening, crypto mining, and potentially unwanted programs 7.0.2

Three new web filter categories have been added to the FortiOS and FortiGuard servers: URL shortening (97), crypto mining (98), and potentially unwanted program (99). For detailed category descriptions and test pages, refer to the FortiGuard Labs documentation.

In the following example, a web filter profile is created to monitor URL shortening (97), and to block crypto mining (98) and potentially unwanted program (99).

To create a web filter profile in the GUI:
  1. Go to Security Profiles > Web Filter and click Create New.

  2. Enter a name for the filter.

  3. In the category table, in the Potentially Liable section, set the Action for the Crypto Mining and Potentially Unwanted Program categories to Block.

    In the General Interest - Business section, set the URL Shortening category to Monitor.

  4. Configure the remaining settings as needed.

  5. Click OK.

To create a web filter profile in the CLI:
config webfilter profile
    edit "test"
        config ftgd-wf
            unset options
            config filters
                ...
                edit 98
                    set category 98
                    set action block
                next
                edit 99
                    set category 99
                    set action block
                next
                edit 97
                    set category 97
                next
            end
        end
    next
end
To test the web filter:
  1. Use the web filter profile in a policy.

  2. On a device that is connected through the FortiGate and uses the policy, visit the test URLs for each category:

    http://wfurltest.fortiguard.com/wftest/97.html

    http://wfurltest.fortiguard.com/wftest/98.html

    http://wfurltest.fortiguard.com/wftest/99.html

  3. Log in to the FortiGate, and go to Log & Report > Web filter to view the logs.

Add categories for URL shortening, crypto mining, and potentially unwanted programs 7.0.2

Three new web filter categories have been added to the FortiOS and FortiGuard servers: URL shortening (97), crypto mining (98), and potentially unwanted program (99). For detailed category descriptions and test pages, refer to the FortiGuard Labs documentation.

In the following example, a web filter profile is created to monitor URL shortening (97), and to block crypto mining (98) and potentially unwanted program (99).

To create a web filter profile in the GUI:
  1. Go to Security Profiles > Web Filter and click Create New.

  2. Enter a name for the filter.

  3. In the category table, in the Potentially Liable section, set the Action for the Crypto Mining and Potentially Unwanted Program categories to Block.

    In the General Interest - Business section, set the URL Shortening category to Monitor.

  4. Configure the remaining settings as needed.

  5. Click OK.

To create a web filter profile in the CLI:
config webfilter profile
    edit "test"
        config ftgd-wf
            unset options
            config filters
                ...
                edit 98
                    set category 98
                    set action block
                next
                edit 99
                    set category 99
                    set action block
                next
                edit 97
                    set category 97
                next
            end
        end
    next
end
To test the web filter:
  1. Use the web filter profile in a policy.

  2. On a device that is connected through the FortiGate and uses the policy, visit the test URLs for each category:

    http://wfurltest.fortiguard.com/wftest/97.html

    http://wfurltest.fortiguard.com/wftest/98.html

    http://wfurltest.fortiguard.com/wftest/99.html

  3. Log in to the FortiGate, and go to Log & Report > Web filter to view the logs.