Fortinet black logo

CLI Reference

config firewall proxy-address

config firewall proxy-address

Configure web proxy address.

config firewall proxy-address
    Description: Configure web proxy address.
    edit <name>
        set application <name1>, <name2>, ...
        set case-sensitivity [disable|enable]
        set category <id1>, <id2>, ...
        set color {integer}
        set comment {var-string}
        set header {string}
        config header-group
            Description: HTTP header group.
            edit <id>
                set header-name {string}
                set header {string}
                set case-sensitivity [disable|enable]
            next
        end
        set header-name {string}
        set host {string}
        set host-regex {string}
        set method {option1}, {option2}, ...
        set path {string}
        set query {string}
        set referrer [enable|disable]
        config tagging
            Description: Config object tagging.
            edit <name>
                set category {string}
                set tags <name1>, <name2>, ...
            next
        end
        set type [host-regex|url|...]
        set ua {option1}, {option2}, ...
        set ua-max-ver {string}
        set ua-min-ver {string}
        set uuid {uuid}
    next
end

config firewall proxy-address

Parameter

Description

Type

Size

Default

application <name>

SaaS application.

SaaS application name.

string

Maximum length: 79

case-sensitivity

Enable to make the pattern case sensitive.

option

-

disable

Option

Description

disable

Case insensitive in pattern.

enable

Case sensitive in pattern.

category <id>

FortiGuard category ID.

FortiGuard category ID.

integer

Minimum value: 0 Maximum value: 4294967295

color

Integer value to determine the color of the icon in the GUI.

integer

Minimum value: 0 Maximum value: 32

0

comment

Optional comments.

var-string

Maximum length: 255

header

HTTP header name as a regular expression.

string

Maximum length: 255

header-name

Name of HTTP header.

string

Maximum length: 79

host

Address object for the host.

string

Maximum length: 79

host-regex

Host name as a regular expression.

string

Maximum length: 255

method

HTTP request methods to be used.

option

-

Option

Description

get

GET method.

post

POST method.

put

PUT method.

head

HEAD method.

connect

CONNECT method.

trace

TRACE method.

options

OPTIONS method.

delete

DELETE method.

name

Address name.

string

Maximum length: 79

path

URL path as a regular expression.

string

Maximum length: 255

query

Match the query part of the URL as a regular expression.

string

Maximum length: 255

referrer

Enable/disable use of referrer field in the HTTP header to match the address.

option

-

disable

Option

Description

enable

Enable setting.

disable

Disable setting.

type

Proxy address type.

option

-

url

Option

Description

host-regex

Host regular expression.

url

HTTP URL.

category

FortiGuard URL catgegory.

method

HTTP request method.

ua

HTTP request user agent.

header

HTTP request header.

src-advanced

HTTP advanced source criteria.

dst-advanced

HTTP advanced destination criteria.

saas

SaaS application.

ua

Names of browsers to be used as user agent.

option

-

Option

Description

chrome

Google Chrome.

ms

Microsoft Internet Explorer or EDGE.

firefox

Mozilla Firefox.

safari

Apple Safari.

ie

Microsoft Internet Explorer.

edge

Microsoft Edge.

other

Other browsers.

ua-max-ver

Maximum version of the user agent specified in dotted notation. For example, use 120 with the ua field set to "chrome" to require Google Chrome's maximum version must be 120.

string

Maximum length: 63

ua-min-ver

Minimum version of the user agent specified in dotted notation. For example, use 90.0.1 with the ua field set to "chrome" to require Google Chrome's minimum version must be 90.0.1.

string

Maximum length: 63

uuid

Universally Unique Identifier (UUID; automatically assigned but can be manually reset).

uuid

Not Specified

00000000-0000-0000-0000-000000000000

config header-group

Parameter

Description

Type

Size

Default

id

ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

header-name

HTTP header.

string

Maximum length: 79

header

HTTP header regular expression.

string

Maximum length: 255

case-sensitivity

Case sensitivity in pattern.

option

-

disable

Option

Description

disable

Case insensitive in pattern.

enable

Case sensitive in pattern.

config tagging

Parameter

Description

Type

Size

Default

name

Tagging entry name.

string

Maximum length: 63

category

Tag category.

string

Maximum length: 63

tags <name>

Tags.

Tag name.

string

Maximum length: 79

config firewall proxy-address

Configure web proxy address.

config firewall proxy-address
    Description: Configure web proxy address.
    edit <name>
        set application <name1>, <name2>, ...
        set case-sensitivity [disable|enable]
        set category <id1>, <id2>, ...
        set color {integer}
        set comment {var-string}
        set header {string}
        config header-group
            Description: HTTP header group.
            edit <id>
                set header-name {string}
                set header {string}
                set case-sensitivity [disable|enable]
            next
        end
        set header-name {string}
        set host {string}
        set host-regex {string}
        set method {option1}, {option2}, ...
        set path {string}
        set query {string}
        set referrer [enable|disable]
        config tagging
            Description: Config object tagging.
            edit <name>
                set category {string}
                set tags <name1>, <name2>, ...
            next
        end
        set type [host-regex|url|...]
        set ua {option1}, {option2}, ...
        set ua-max-ver {string}
        set ua-min-ver {string}
        set uuid {uuid}
    next
end

config firewall proxy-address

Parameter

Description

Type

Size

Default

application <name>

SaaS application.

SaaS application name.

string

Maximum length: 79

case-sensitivity

Enable to make the pattern case sensitive.

option

-

disable

Option

Description

disable

Case insensitive in pattern.

enable

Case sensitive in pattern.

category <id>

FortiGuard category ID.

FortiGuard category ID.

integer

Minimum value: 0 Maximum value: 4294967295

color

Integer value to determine the color of the icon in the GUI.

integer

Minimum value: 0 Maximum value: 32

0

comment

Optional comments.

var-string

Maximum length: 255

header

HTTP header name as a regular expression.

string

Maximum length: 255

header-name

Name of HTTP header.

string

Maximum length: 79

host

Address object for the host.

string

Maximum length: 79

host-regex

Host name as a regular expression.

string

Maximum length: 255

method

HTTP request methods to be used.

option

-

Option

Description

get

GET method.

post

POST method.

put

PUT method.

head

HEAD method.

connect

CONNECT method.

trace

TRACE method.

options

OPTIONS method.

delete

DELETE method.

name

Address name.

string

Maximum length: 79

path

URL path as a regular expression.

string

Maximum length: 255

query

Match the query part of the URL as a regular expression.

string

Maximum length: 255

referrer

Enable/disable use of referrer field in the HTTP header to match the address.

option

-

disable

Option

Description

enable

Enable setting.

disable

Disable setting.

type

Proxy address type.

option

-

url

Option

Description

host-regex

Host regular expression.

url

HTTP URL.

category

FortiGuard URL catgegory.

method

HTTP request method.

ua

HTTP request user agent.

header

HTTP request header.

src-advanced

HTTP advanced source criteria.

dst-advanced

HTTP advanced destination criteria.

saas

SaaS application.

ua

Names of browsers to be used as user agent.

option

-

Option

Description

chrome

Google Chrome.

ms

Microsoft Internet Explorer or EDGE.

firefox

Mozilla Firefox.

safari

Apple Safari.

ie

Microsoft Internet Explorer.

edge

Microsoft Edge.

other

Other browsers.

ua-max-ver

Maximum version of the user agent specified in dotted notation. For example, use 120 with the ua field set to "chrome" to require Google Chrome's maximum version must be 120.

string

Maximum length: 63

ua-min-ver

Minimum version of the user agent specified in dotted notation. For example, use 90.0.1 with the ua field set to "chrome" to require Google Chrome's minimum version must be 90.0.1.

string

Maximum length: 63

uuid

Universally Unique Identifier (UUID; automatically assigned but can be manually reset).

uuid

Not Specified

00000000-0000-0000-0000-000000000000

config header-group

Parameter

Description

Type

Size

Default

id

ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

header-name

HTTP header.

string

Maximum length: 79

header

HTTP header regular expression.

string

Maximum length: 255

case-sensitivity

Case sensitivity in pattern.

option

-

disable

Option

Description

disable

Case insensitive in pattern.

enable

Case sensitive in pattern.

config tagging

Parameter

Description

Type

Size

Default

name

Tagging entry name.

string

Maximum length: 63

category

Tag category.

string

Maximum length: 63

tags <name>

Tags.

Tag name.

string

Maximum length: 79