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 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 id {integer}
                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 name {string}
        set path {string}
        set query {string}
        set referrer [enable|disable]
        config tagging
            Description: Config object tagging.
            edit <name>
                set name {string}
                set category {string}
                set tags <name1>, <name2>, ...
            next
        end
        set type [host-regex|url|...]
        set ua {option1}, {option2}, ...
        set uuid {uuid}
    next
end

config firewall proxy-address

Parameter

Description

Type

Size

Default

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

Not Specified

header

HTTP header name as a regular expression.

string

Not Specified

header-name

Name of HTTP header.

string

Not Specified

host

Address object for the host.

string

Not Specified

host-regex

Host name as a regular expression.

string

Not Specified

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

Not Specified

path

URL path as a regular expression.

string

Not Specified

query

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

string

Not Specified

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.

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.

other

Other browsers.

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

Not Specified

header

HTTP header regular expression.

string

Not Specified

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

Not Specified

category

Tag category.

string

Not Specified

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 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 id {integer}
                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 name {string}
        set path {string}
        set query {string}
        set referrer [enable|disable]
        config tagging
            Description: Config object tagging.
            edit <name>
                set name {string}
                set category {string}
                set tags <name1>, <name2>, ...
            next
        end
        set type [host-regex|url|...]
        set ua {option1}, {option2}, ...
        set uuid {uuid}
    next
end

config firewall proxy-address

Parameter

Description

Type

Size

Default

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

Not Specified

header

HTTP header name as a regular expression.

string

Not Specified

header-name

Name of HTTP header.

string

Not Specified

host

Address object for the host.

string

Not Specified

host-regex

Host name as a regular expression.

string

Not Specified

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

Not Specified

path

URL path as a regular expression.

string

Not Specified

query

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

string

Not Specified

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.

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.

other

Other browsers.

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

Not Specified

header

HTTP header regular expression.

string

Not Specified

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

Not Specified

category

Tag category.

string

Not Specified

tags <name>

Tags.

Tag name.

string

Maximum length: 79