Fortinet white logo
Fortinet white 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-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}
    set embed-image [enable|disable]
end

config webfilter fortiguard

Parameter

Description

Type

Size

Default

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.

cache-mem-percent

Maximum percentage of available memory allocated to caching.

integer

Minimum value: 1 Maximum value: 15

2

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

ovrd-auth-https

Enable/disable use of HTTPS for override authentication.

option

-

enable

Option

Description

enable

Enable setting.

disable

Disable setting.

warn-auth-https

Enable/disable use of HTTPS for warning and authentication.

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.

request-packet-size-limit

Limit size of URL request packets sent to FortiGuard server.

integer

Minimum value: 576 Maximum value: 10000

0

embed-image

Enable/disable embedding images into replacement messages.

option

-

enable

Option

Description

enable

Enable setting.

disable

Disable setting.

config webfilter fortiguard

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}
    set embed-image [enable|disable]
end

config webfilter fortiguard

Parameter

Description

Type

Size

Default

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.

cache-mem-percent

Maximum percentage of available memory allocated to caching.

integer

Minimum value: 1 Maximum value: 15

2

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

ovrd-auth-https

Enable/disable use of HTTPS for override authentication.

option

-

enable

Option

Description

enable

Enable setting.

disable

Disable setting.

warn-auth-https

Enable/disable use of HTTPS for warning and authentication.

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.

request-packet-size-limit

Limit size of URL request packets sent to FortiGuard server.

integer

Minimum value: 576 Maximum value: 10000

0

embed-image

Enable/disable embedding images into replacement messages.

option

-

enable

Option

Description

enable

Enable setting.

disable

Disable setting.