Fortinet black logo

CLI Reference

webfilter {ips-urlfilter-setting | ips-urlfilter-setting6}

webfilter {ips-urlfilter-setting | ips-urlfilter-setting6}

Use this command to configure IPV4 and IPv6 IPS URL filter settings.

note icon Similar entries can be found under both ips-urlfilter-setting and ips-urlfilter-setting6, so only one CLI syntax is shown.

History

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

Command Description

config webfilter ips-urlfilter-setting6

Configure IPS URL filter settings for IPv6.

config webfilter {ips-urlfilter-setting | ips-urlfilter-setting6}

edit <address>

set geo-filter <country name>

next

end

Filter based on geographical location.

Note that the route will not be installed if the resolved IP address belongs to the country in the filter.

config webfilter ips-urlfilter-setting
    set device {string}   Interface for this route. size[35] - datasource(s): system.interface.name
    set distance {integer}   Administrative distance (1 - 255) for this route. range[1-255]
    set gateway {ipv4 address}   Gateway IP address for this route.
    set geo-filter {string}   Filter based on geographical location. Route will NOT be installed if the resolved IP address belongs to the country in the filter. size[255]
end

webfilter {ips-urlfilter-setting | ips-urlfilter-setting6}

Use this command to configure IPV4 and IPv6 IPS URL filter settings.

note icon Similar entries can be found under both ips-urlfilter-setting and ips-urlfilter-setting6, so only one CLI syntax is shown.

History

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

Command Description

config webfilter ips-urlfilter-setting6

Configure IPS URL filter settings for IPv6.

config webfilter {ips-urlfilter-setting | ips-urlfilter-setting6}

edit <address>

set geo-filter <country name>

next

end

Filter based on geographical location.

Note that the route will not be installed if the resolved IP address belongs to the country in the filter.

config webfilter ips-urlfilter-setting
    set device {string}   Interface for this route. size[35] - datasource(s): system.interface.name
    set distance {integer}   Administrative distance (1 - 255) for this route. range[1-255]
    set gateway {ipv4 address}   Gateway IP address for this route.
    set geo-filter {string}   Filter based on geographical location. Route will NOT be installed if the resolved IP address belongs to the country in the filter. size[255]
end