config webfilter urlfilter
Configure URL filter lists.
config webfilter urlfilter Description: Configure URL filter lists. edit <id> set comment {var-string} config entries Description: URL filter entries. edit <id> set action [exempt|block|...] set antiphish-action [block|log] set dns-address-family [ipv4|ipv6|...] set exempt {option1}, {option2}, ... set referrer-host {string} set status [enable|disable] set type [simple|regex|...] set url {string} set web-proxy-profile {string} next end set ip-addr-block [enable|disable] set ip4-mapped-ip6 [enable|disable] set name {string} set one-arm-ips-urlfilter [enable|disable] next end
config webfilter urlfilter
Parameter |
Description |
Type |
Size |
Default |
||||||
---|---|---|---|---|---|---|---|---|---|---|
comment |
Optional comments. |
var-string |
Maximum length: 255 |
|
||||||
id |
ID. |
integer |
Minimum value: 0 Maximum value: 4294967295 |
0 |
||||||
ip-addr-block |
Enable/disable blocking URLs when the hostname appears as an IP address. |
option |
- |
disable |
||||||
|
|
|||||||||
ip4-mapped-ip6 |
Enable/disable matching of IPv4 mapped IPv6 URLs. |
option |
- |
disable |
||||||
|
|
|||||||||
name |
Name of URL filter list. |
string |
Maximum length: 63 |
|
||||||
one-arm-ips-urlfilter |
Enable/disable DNS resolver for one-arm IPS URL filter operation. |
option |
- |
disable |
||||||
|
|
config entries
Parameter |
Description |
Type |
Size |
Default |
||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
action |
Action to take for URL filter matches. |
option |
- |
exempt |
||||||||||||||||||||
|
|
|||||||||||||||||||||||
antiphish-action |
Action to take for AntiPhishing matches. |
option |
- |
block |
||||||||||||||||||||
|
|
|||||||||||||||||||||||
dns-address-family |
Resolve IPv4 address, IPv6 address, or both from DNS server. |
option |
- |
ipv4 |
||||||||||||||||||||
|
|
|||||||||||||||||||||||
exempt |
If action is set to exempt, select the security profile operations that exempt URLs skip. Separate multiple options with a space. |
option |
- |
av web-content activex-java-cookie dlp fortiguard range-block antiphish all |
||||||||||||||||||||
|
|
|||||||||||||||||||||||
id |
Id. |
integer |
Minimum value: 0 Maximum value: 4294967295 |
0 |
||||||||||||||||||||
referrer-host |
Referrer host name. |
string |
Maximum length: 255 |
|
||||||||||||||||||||
status |
Enable/disable this URL filter. |
option |
- |
enable |
||||||||||||||||||||
|
|
|||||||||||||||||||||||
type |
Filter type (simple, regex, or wildcard). |
option |
- |
simple |
||||||||||||||||||||
|
|
|||||||||||||||||||||||
url |
URL to be filtered. |
string |
Maximum length: 511 |
|
||||||||||||||||||||
web-proxy-profile |
Web proxy profile. |
string |
Maximum length: 63 |
|