Fortinet white logo
Fortinet white 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 uuid {uuid}

set type [host-regex|url|...]

set host {string}

set host-regex {string}

set path {string}

set query {string}

set referrer [enable|disable]

set category <id1>, <id2>, ...

set method {option1}, {option2}, ...

set ua {option1}, {option2}, ...

set header-name {string}

set header {string}

set case-sensitivity [disable|enable]

config header-group

Description: HTTP header group.

edit <id>

set header-name {string}

set header {string}

set case-sensitivity [disable|enable]

next

end

set color {integer}

config tagging

Description: Config object tagging.

edit <name>

set category {string}

set tags <name1>, <name2>, ...

next

end

set comment {var-string}

next

end

config firewall proxy-address

Parameter

Description

Type

Size

Default

uuid

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

uuid

Not Specified

00000000-0000-0000-0000-000000000000

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.

host

Address object for the host.

string

Maximum length: 79

host-regex

Host name as a regular expression.

string

Maximum length: 255

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.

category <id>

FortiGuard category ID.

Fortiguard category id.

integer

Minimum value: 0 Maximum value: 4294967295

0

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.

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.

header-name

Name of HTTP header.

string

Maximum length: 79

header

HTTP header name as a regular expression.

string

Maximum length: 255

case-sensitivity

Enable to make the pattern case sensitive.

option

-

disable

Option

Description

disable

Case insensitive in pattern.

enable

Case sensitive in pattern.

color

Integer value to determine the color of the icon in the GUI (1 - 32, default = 0, which sets value to 1).

integer

Minimum value: 0 Maximum value: 32

0

comment

Optional comments.

var-string

Maximum length: 255

config header-group

Parameter

Description

Type

Size

Default

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

category

Tag category.

string

Maximum length: 63

tags <name>

Tags.

Tag name.

string

Maximum length: 79

config firewall proxy-address

config firewall proxy-address

Configure web proxy address.

config firewall proxy-address

Description: Configure web proxy address.

edit <name>

set uuid {uuid}

set type [host-regex|url|...]

set host {string}

set host-regex {string}

set path {string}

set query {string}

set referrer [enable|disable]

set category <id1>, <id2>, ...

set method {option1}, {option2}, ...

set ua {option1}, {option2}, ...

set header-name {string}

set header {string}

set case-sensitivity [disable|enable]

config header-group

Description: HTTP header group.

edit <id>

set header-name {string}

set header {string}

set case-sensitivity [disable|enable]

next

end

set color {integer}

config tagging

Description: Config object tagging.

edit <name>

set category {string}

set tags <name1>, <name2>, ...

next

end

set comment {var-string}

next

end

config firewall proxy-address

Parameter

Description

Type

Size

Default

uuid

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

uuid

Not Specified

00000000-0000-0000-0000-000000000000

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.

host

Address object for the host.

string

Maximum length: 79

host-regex

Host name as a regular expression.

string

Maximum length: 255

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.

category <id>

FortiGuard category ID.

Fortiguard category id.

integer

Minimum value: 0 Maximum value: 4294967295

0

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.

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.

header-name

Name of HTTP header.

string

Maximum length: 79

header

HTTP header name as a regular expression.

string

Maximum length: 255

case-sensitivity

Enable to make the pattern case sensitive.

option

-

disable

Option

Description

disable

Case insensitive in pattern.

enable

Case sensitive in pattern.

color

Integer value to determine the color of the icon in the GUI (1 - 32, default = 0, which sets value to 1).

integer

Minimum value: 0 Maximum value: 32

0

comment

Optional comments.

var-string

Maximum length: 255

config header-group

Parameter

Description

Type

Size

Default

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

category

Tag category.

string

Maximum length: 63

tags <name>

Tags.

Tag name.

string

Maximum length: 79