Skip to main content
mle2802
Staff
Staff
Aug 9, 2023 6:11 AM UTC

Technical Tip: Import bulk URL for web filter

Description

This article describes how to import a list of URLs and use it for web filters.

Scope

FortiGate.

Solution

To achieve this, it is possible to use FortiGuard Category threat feeds. This method will dynamically import a text file from an external server, which contains one URL per line.

 

Go to Security Fabric -> External Connectors and select Create New. In the Threat Feeds section, select FortiGuard Category.

mle2802_0-1691528468693.png

 

After being connected, select view entries to see the list of imported URLs.

 

mle2802_1-1691528468695.png

 

To configure a FortiGuard category threat feed in the CLI, type the below commands:

config system external-resource

    edit "10.10.10.5"

        set type category

        set category 192

        set resource "http://10.10.10.5/test.txt"

        set server-identity-check {none | basic | full}

    next

end

After being successfully created, under the web filter profile, there will be a new category called 'Remote categories' with the list of URLs imported from the server. Modify the action for this new category based on the requirements.

mle2802_2-1691528468695.png
    Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024