Fortinet Document Library

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:


Table of Contents

CLI Reference

config webfilter fortiguard

Configure FortiGuard Web Filter service.

config webfilter fortiguard

Description: Configure FortiGuard Web Filter service.

set cache-mode [ttl|db-ver]

set cache-prefix-match [enable|disable]

set cache-mem-percent {integer}

set ovrd-auth-port-http {integer}

set ovrd-auth-port-https {integer}

set ovrd-auth-port-https-flow {integer}

set ovrd-auth-port-warning {integer}

set ovrd-auth-https [enable|disable]

set warn-auth-https [enable|disable]

set close-ports [enable|disable]

set request-packet-size-limit {integer}

end

config webfilter fortiguard

Parameter name

Description

Type

Size

cache-mode

Cache entry expiration mode.

option

-

 

Option

Description

ttl

Expire cache items by time-to-live.

db-ver

Expire cache items when the server DB version changes.

cache-prefix-match

Enable/disable prefix matching in the cache.

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

cache-mem-percent

Maximum percentage of available memory allocated to caching (1 - 15%).

integer

Minimum value: 1 Maximum value: 15

ovrd-auth-port-http

Port to use for FortiGuard Web Filter HTTP override authentication

integer

Minimum value: 0 Maximum value: 65535

ovrd-auth-port-https

Port to use for FortiGuard Web Filter HTTPS override authentication in proxy mode.

integer

Minimum value: 0 Maximum value: 65535

ovrd-auth-port-https-flow

Port to use for FortiGuard Web Filter HTTPS override authentication in flow mode.

integer

Minimum value: 0 Maximum value: 65535

ovrd-auth-port-warning

Port to use for FortiGuard Web Filter Warning override authentication.

integer

Minimum value: 0 Maximum value: 65535

ovrd-auth-https

Enable/disable use of HTTPS for override authentication.

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

warn-auth-https

Enable/disable use of HTTPS for warning and authentication.

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

close-ports

Close ports used for HTTP/HTTPS override authentication and disable user overrides.

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

request-packet-size-limit

Limit size of URL request packets sent to FortiGuard server (0 for default).

integer

Minimum value: 576 Maximum value: 10000

config webfilter fortiguard

Configure FortiGuard Web Filter service.

config webfilter fortiguard

Description: Configure FortiGuard Web Filter service.

set cache-mode [ttl|db-ver]

set cache-prefix-match [enable|disable]

set cache-mem-percent {integer}

set ovrd-auth-port-http {integer}

set ovrd-auth-port-https {integer}

set ovrd-auth-port-https-flow {integer}

set ovrd-auth-port-warning {integer}

set ovrd-auth-https [enable|disable]

set warn-auth-https [enable|disable]

set close-ports [enable|disable]

set request-packet-size-limit {integer}

end

config webfilter fortiguard

Parameter name

Description

Type

Size

cache-mode

Cache entry expiration mode.

option

-

 

Option

Description

ttl

Expire cache items by time-to-live.

db-ver

Expire cache items when the server DB version changes.

cache-prefix-match

Enable/disable prefix matching in the cache.

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

cache-mem-percent

Maximum percentage of available memory allocated to caching (1 - 15%).

integer

Minimum value: 1 Maximum value: 15

ovrd-auth-port-http

Port to use for FortiGuard Web Filter HTTP override authentication

integer

Minimum value: 0 Maximum value: 65535

ovrd-auth-port-https

Port to use for FortiGuard Web Filter HTTPS override authentication in proxy mode.

integer

Minimum value: 0 Maximum value: 65535

ovrd-auth-port-https-flow

Port to use for FortiGuard Web Filter HTTPS override authentication in flow mode.

integer

Minimum value: 0 Maximum value: 65535

ovrd-auth-port-warning

Port to use for FortiGuard Web Filter Warning override authentication.

integer

Minimum value: 0 Maximum value: 65535

ovrd-auth-https

Enable/disable use of HTTPS for override authentication.

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

warn-auth-https

Enable/disable use of HTTPS for warning and authentication.

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

close-ports

Close ports used for HTTP/HTTPS override authentication and disable user overrides.

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

request-packet-size-limit

Limit size of URL request packets sent to FortiGuard server (0 for default).

integer

Minimum value: 576 Maximum value: 10000