Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:


Table of Contents

CLI Reference

config webfilter search-engine

Configure web filter search engines.

config webfilter search-engine

Description: Configure web filter search engines.

edit <name>

set hostname {string}

set url {string}

set query {string}

set safesearch [disable|url|...]

set charset [utf-8|gb2312]

set safesearch-str {string}

next

end

config webfilter search-engine

Parameter

Description

Type

Size

Default

hostname

Hostname (regular expression).

string

Not Specified

url

URL (regular expression).

string

Not Specified

query

Code used to prefix a query (must end with an equals character).

string

Not Specified

safesearch

Safe search method. You can disable safe search, add the safe search string to URLs, or insert a safe search header.

option

-

disable

 

Option

Description

disable

Site does not support safe search.

url

Safe search selected with a parameter in the URL.

header

Safe search selected by search header (i.e. youtube.edu).

translate

Perform URL FortiGuard check on translated URL.

yt-pattern

Pattern to match YouTube channel ID.

yt-scan

Perform IPS scan.

yt-video

Pattern to match YouTube video name.

yt-channel

Pattern to match YouTube channel name.

charset

Search engine charset.

option

-

utf-8

 

Option

Description

utf-8

UTF-8 encoding.

gb2312

GB2312 encoding.

safesearch-str

In URL mode, it is the safe search parameter used in the URL. In translate mode, it provides either the regex to translate the URL, or the special case to translate the URL

string

Not Specified

config webfilter search-engine

Configure web filter search engines.

config webfilter search-engine

Description: Configure web filter search engines.

edit <name>

set hostname {string}

set url {string}

set query {string}

set safesearch [disable|url|...]

set charset [utf-8|gb2312]

set safesearch-str {string}

next

end

config webfilter search-engine

Parameter

Description

Type

Size

Default

hostname

Hostname (regular expression).

string

Not Specified

url

URL (regular expression).

string

Not Specified

query

Code used to prefix a query (must end with an equals character).

string

Not Specified

safesearch

Safe search method. You can disable safe search, add the safe search string to URLs, or insert a safe search header.

option

-

disable

 

Option

Description

disable

Site does not support safe search.

url

Safe search selected with a parameter in the URL.

header

Safe search selected by search header (i.e. youtube.edu).

translate

Perform URL FortiGuard check on translated URL.

yt-pattern

Pattern to match YouTube channel ID.

yt-scan

Perform IPS scan.

yt-video

Pattern to match YouTube video name.

yt-channel

Pattern to match YouTube channel name.

charset

Search engine charset.

option

-

utf-8

 

Option

Description

utf-8

UTF-8 encoding.

gb2312

GB2312 encoding.

safesearch-str

In URL mode, it is the safe search parameter used in the URL. In translate mode, it provides either the regex to translate the URL, or the special case to translate the URL

string

Not Specified