config webfilter profile
Configure Web filter profiles.
Syntax
config webfilter profile
edit <name>
set comment {var-string}
set extended-log [enable|disable]
config ftgd-wf
Description: FortiGuard Web Filter settings.
set exempt-quota {user}
config filters
Description: FortiGuard filters.
edit <id>
set action [block|authenticate|...]
set auth-usr-grp <name1>, <name2>, ...
set category {integer}
set log [enable|disable]
set override-replacemsg {string}
set warn-duration {user}
set warning-duration-type [session|timeout]
set warning-prompt [per-domain|per-category]
next
end
set max-quota-timeout {integer}
set options {option1}, {option2}, ...
set ovrd {user}
config quota
Description: FortiGuard traffic quota settings.
edit <id>
set category {user}
set duration {user}
set override-replacemsg {string}
set type [time|traffic]
set unit [B|KB|...]
set value {integer}
next
end
set rate-crl-urls [disable|enable]
set rate-css-urls [disable|enable]
set rate-javascript-urls [disable|enable]
end
set https-replacemsg [enable|disable]
set log-all-url [enable|disable]
set options {option1}, {option2}, ...
config override
Description: Web Filter override settings.
set ovrd-cookie [allow|deny]
set ovrd-dur {user}
set ovrd-dur-mode [constant|ask]
set ovrd-scope [user|user-group|...]
set ovrd-user-group <name1>, <name2>, ...
set profile <name1>, <name2>, ...
set profile-attribute [User-Name|NAS-IP-Address|...]
set profile-type [list|radius]
end
set post-action [normal|block]
set replacemsg-group {string}
config web
Description: Web content filtering settings.
set bword-table {integer}
set bword-threshold {integer}
set content-header-list {integer}
set urlfilter-table {integer}
end
set web-content-log [enable|disable]
set web-filter-command-block-log [enable|disable]
set web-filter-cookie-log [enable|disable]
set web-ftgd-err-log [enable|disable]
set web-ftgd-quota-usage [enable|disable]
set web-invalid-domain-log [enable|disable]
set web-url-log [enable|disable]
next
end
Parameters
|
Parameter |
Description |
Type |
Size |
Default |
||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
comment |
Optional comments. |
var-string |
Maximum length: 255 |
|||||||||||||||||||||||||
|
extended-log |
Enable/disable extended logging for web filtering. |
option |
- |
disable |
||||||||||||||||||||||||
|
|
|
|||||||||||||||||||||||||||
|
https-replacemsg |
Enable replacement messages for HTTPS. |
option |
- |
enable |
||||||||||||||||||||||||
|
|
|
|||||||||||||||||||||||||||
|
log-all-url |
Enable/disable logging all URLs visited. |
option |
- |
disable |
||||||||||||||||||||||||
|
|
|
|||||||||||||||||||||||||||
|
name |
Profile name. |
string |
Maximum length: 35 |
|||||||||||||||||||||||||
|
options |
Options. |
option |
- |
|||||||||||||||||||||||||
|
|
|
|||||||||||||||||||||||||||
|
post-action |
Action taken for HTTP POST traffic. |
option |
- |
normal |
||||||||||||||||||||||||
|
|
|
|||||||||||||||||||||||||||
|
replacemsg-group |
Replacement message group. |
string |
Maximum length: 35 |
|||||||||||||||||||||||||
|
web-content-log |
Enable/disable logging logging blocked web content. |
option |
- |
enable |
||||||||||||||||||||||||
|
|
|
|||||||||||||||||||||||||||
|
web-filter-command-block-log |
Enable/disable logging blocked commands. |
option |
- |
enable |
||||||||||||||||||||||||
|
|
|
|||||||||||||||||||||||||||
|
web-filter-cookie-log |
Enable/disable logging cookie filtering. |
option |
- |
enable |
||||||||||||||||||||||||
|
|
|
|||||||||||||||||||||||||||
|
web-ftgd-err-log |
Enable/disable logging rating errors. |
option |
- |
enable |
||||||||||||||||||||||||
|
|
|
|||||||||||||||||||||||||||
|
web-ftgd-quota-usage |
Enable/disable logging daily quota usage. |
option |
- |
enable |
||||||||||||||||||||||||
|
|
|
|||||||||||||||||||||||||||
|
web-invalid-domain-log |
Enable/disable logging invalid domain names. |
option |
- |
enable |
||||||||||||||||||||||||
|
|
|
|||||||||||||||||||||||||||
|
web-url-log |
Enable/disable logging URL filtering. |
option |
- |
enable |
||||||||||||||||||||||||
|
|
|
|||||||||||||||||||||||||||
config ftgd-wf
|
Parameter |
Description |
Type |
Size |
Default |
||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
exempt-quota |
Do not stop quota for these categories. |
user |
Not Specified |
17 |
||||||||||
|
max-quota-timeout |
Maximum FortiGuard quota used by single page view in seconds (excludes streams). |
integer |
Minimum value: 1 Maximum value: 86400 |
300 |
||||||||||
|
options |
Options for FortiGuard Web Filter. |
option |
- |
|||||||||||
|
|
|
|||||||||||||
|
ovrd |
Allow web filter profile overrides. |
user |
Not Specified |
|||||||||||
|
rate-crl-urls |
Enable/disable rating CRL by URL. |
option |
- |
enable |
||||||||||
|
|
|
|||||||||||||
|
rate-css-urls |
Enable/disable rating CSS by URL. |
option |
- |
enable |
||||||||||
|
|
|
|||||||||||||
|
rate-javascript-urls |
Enable/disable rating JavaScript by URL. |
option |
- |
enable |
||||||||||
|
|
|
|||||||||||||
config filters
|
Parameter |
Description |
Type |
Size |
Default |
||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
action |
Action to take for matches. |
option |
- |
monitor |
||||||||||
|
|
|
|||||||||||||
|
auth-usr-grp |
Groups with permission to authenticate. User group name. |
string |
Maximum length: 79 |
|||||||||||
|
category |
Categories and groups the filter examines. |
integer |
Minimum value: 0 Maximum value: 255 |
0 |
||||||||||
|
id |
ID number. |
integer |
Minimum value: 0 Maximum value: 255 |
0 |
||||||||||
|
log |
Enable/disable logging. |
option |
- |
enable |
||||||||||
|
|
|
|||||||||||||
|
override-replacemsg |
Override replacement message. |
string |
Maximum length: 28 |
|||||||||||
|
warn-duration |
Duration of warnings. |
user |
Not Specified |
5m |
||||||||||
|
warning-duration-type |
Re-display warning after closing browser or after a timeout. |
option |
- |
timeout |
||||||||||
|
|
|
|||||||||||||
|
warning-prompt |
Warning prompts in each category or each domain. |
option |
- |
per-category |
||||||||||
|
|
|
|||||||||||||
config quota
|
Parameter |
Description |
Type |
Size |
Default |
||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
category |
FortiGuard categories to apply quota to (category action must be set to monitor). |
user |
Not Specified |
|||||||||||
|
duration |
Duration of quota. |
user |
Not Specified |
5m |
||||||||||
|
id |
ID number. |
integer |
Minimum value: 0 Maximum value: 4294967295 |
0 |
||||||||||
|
override-replacemsg |
Override replacement message. |
string |
Maximum length: 28 |
|||||||||||
|
type |
Quota type. |
option |
- |
time |
||||||||||
|
|
|
|||||||||||||
|
unit |
Traffic quota unit of measurement. |
option |
- |
MB |
||||||||||
|
|
|
|||||||||||||
|
value |
Traffic quota value. |
integer |
Minimum value: 1 Maximum value: 4294967295 |
1024 |
||||||||||
config override
|
Parameter |
Description |
Type |
Size |
Default |
||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
ovrd-cookie |
Allow/deny browser-based (cookie) overrides. |
option |
- |
deny |
||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||
|
ovrd-dur |
Override duration. |
user |
Not Specified |
15m |
||||||||||||||||||||||||||||||||||||||||||||||
|
ovrd-dur-mode |
Override duration mode. |
option |
- |
constant |
||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||
|
ovrd-scope |
Override scope. |
option |
- |
user |
||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||
|
ovrd-user-group |
User groups with permission to use the override. User group name. |
string |
Maximum length: 79 |
|||||||||||||||||||||||||||||||||||||||||||||||
|
profile |
Web filter profile with permission to create overrides. Web profile. |
string |
Maximum length: 79 |
|||||||||||||||||||||||||||||||||||||||||||||||
|
profile-attribute |
Profile attribute to retrieve from the RADIUS server. |
option |
- |
Login-LAT-Service |
||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||
|
profile-type |
Override profile type. |
option |
- |
list |
||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||
config web
|
Parameter |
Description |
Type |
Size |
Default |
|---|---|---|---|---|
|
bword-table |
Banned word table ID. |
integer |
Minimum value: 0 Maximum value: 4294967295 |
0 |
|
bword-threshold |
Banned word score threshold. |
integer |
Minimum value: 0 Maximum value: 2147483647 |
10 |
|
content-header-list |
Content header list. |
integer |
Minimum value: 0 Maximum value: 4294967295 |
0 |
|
urlfilter-table |
URL filter table ID. |
integer |
Minimum value: 0 Maximum value: 4294967295 |
0 |