Fortinet black logo

CLI Reference

system external-resource

system external-resource

Use this command to configure external blocklist resources that Web Filtering profiles can use for blocking URLs. These blocklists are text files that are in a plain text format, where each line contains a single URL to be blocked. DNS filtering, SSL exemption, and policies can also make use of this feature.

History

The following table shows all newly added, changed, or removed entries as of FortiOS 6.0.2.

Command Description

set last-update <datetime>

Removed last-update option.

The following table shows all newly added, changed, or removed entries as of FortiOS 6.0.

Command Description

config system external-resource

New config command.

Configure external dynamic block lists for blocking URLs. Determine how often, in minutes, files can be refreshed from the external resource.

config system external-resource
    edit {name}
    # Configure external resource.
        set name {string}   External resource name. size[35]
        set status {enable | disable}   Enable/disable user resource.
        set type {category | address | domain}   User resource type.
                category  FortiGuard category.
                address   Firewall IP address.
                domain    Domain Name.
        set category {integer}   User resource category. range[192-221]
        set comments {string}   Comment. size[255]
        set resource {string}   URI of external resource. size[511]
        set refresh-rate {integer}   Time interval to refresh external resource (1 - 43200 min, default = 5 min). range[1-43200]
    next
end

system external-resource

Use this command to configure external blocklist resources that Web Filtering profiles can use for blocking URLs. These blocklists are text files that are in a plain text format, where each line contains a single URL to be blocked. DNS filtering, SSL exemption, and policies can also make use of this feature.

History

The following table shows all newly added, changed, or removed entries as of FortiOS 6.0.2.

Command Description

set last-update <datetime>

Removed last-update option.

The following table shows all newly added, changed, or removed entries as of FortiOS 6.0.

Command Description

config system external-resource

New config command.

Configure external dynamic block lists for blocking URLs. Determine how often, in minutes, files can be refreshed from the external resource.

config system external-resource
    edit {name}
    # Configure external resource.
        set name {string}   External resource name. size[35]
        set status {enable | disable}   Enable/disable user resource.
        set type {category | address | domain}   User resource type.
                category  FortiGuard category.
                address   Firewall IP address.
                domain    Domain Name.
        set category {integer}   User resource category. range[192-221]
        set comments {string}   Comment. size[255]
        set resource {string}   URI of external resource. size[511]
        set refresh-rate {integer}   Time interval to refresh external resource (1 - 43200 min, default = 5 min). range[1-43200]
    next
end