Fortinet black logo

CLI Reference

config webfilter fortiguard

config webfilter fortiguard

Configure FortiGuard Web Filter service.

config webfilter fortiguard
    Description: Configure FortiGuard Web Filter service.
    set cache-mem-percent {integer}
    set cache-mode [ttl|db-ver]
    set cache-prefix-match [enable|disable]
    set close-ports [enable|disable]
    set ovrd-auth-https [enable|disable]
    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 request-packet-size-limit {integer}
    set warn-auth-https [enable|disable]
end

config webfilter fortiguard

Parameter

Description

Type

Size

Default

cache-mem-percent

Maximum percentage of available memory allocated to caching.

integer

Minimum value: 1 Maximum value: 15

2 **

cache-mode

Cache entry expiration mode.

option

-

ttl

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

-

enable

Option

Description

enable

Enable setting.

disable

Disable setting.

close-ports

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

option

-

disable

Option

Description

enable

Enable setting.

disable

Disable setting.

ovrd-auth-https

Enable/disable use of HTTPS for override authentication.

option

-

enable

Option

Description

enable

Enable setting.

disable

Disable setting.

ovrd-auth-port-http

Port to use for FortiGuard Web Filter HTTP override authentication.

integer

Minimum value: 0 Maximum value: 65535

8008

ovrd-auth-port-https

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

integer

Minimum value: 0 Maximum value: 65535

8010

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

8015

ovrd-auth-port-warning

Port to use for FortiGuard Web Filter Warning override authentication.

integer

Minimum value: 0 Maximum value: 65535

8020

request-packet-size-limit

Limit size of URL request packets sent to FortiGuard server.

integer

Minimum value: 576 Maximum value: 10000

0

warn-auth-https

Enable/disable use of HTTPS for warning and authentication.

option

-

enable

Option

Description

enable

Enable setting.

disable

Disable setting.

** Values may differ between models.

config webfilter fortiguard

Configure FortiGuard Web Filter service.

config webfilter fortiguard
    Description: Configure FortiGuard Web Filter service.
    set cache-mem-percent {integer}
    set cache-mode [ttl|db-ver]
    set cache-prefix-match [enable|disable]
    set close-ports [enable|disable]
    set ovrd-auth-https [enable|disable]
    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 request-packet-size-limit {integer}
    set warn-auth-https [enable|disable]
end

config webfilter fortiguard

Parameter

Description

Type

Size

Default

cache-mem-percent

Maximum percentage of available memory allocated to caching.

integer

Minimum value: 1 Maximum value: 15

2 **

cache-mode

Cache entry expiration mode.

option

-

ttl

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

-

enable

Option

Description

enable

Enable setting.

disable

Disable setting.

close-ports

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

option

-

disable

Option

Description

enable

Enable setting.

disable

Disable setting.

ovrd-auth-https

Enable/disable use of HTTPS for override authentication.

option

-

enable

Option

Description

enable

Enable setting.

disable

Disable setting.

ovrd-auth-port-http

Port to use for FortiGuard Web Filter HTTP override authentication.

integer

Minimum value: 0 Maximum value: 65535

8008

ovrd-auth-port-https

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

integer

Minimum value: 0 Maximum value: 65535

8010

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

8015

ovrd-auth-port-warning

Port to use for FortiGuard Web Filter Warning override authentication.

integer

Minimum value: 0 Maximum value: 65535

8020

request-packet-size-limit

Limit size of URL request packets sent to FortiGuard server.

integer

Minimum value: 576 Maximum value: 10000

0

warn-auth-https

Enable/disable use of HTTPS for warning and authentication.

option

-

enable

Option

Description

enable

Enable setting.

disable

Disable setting.

** Values may differ between models.