Fortinet black logo

CLI Reference

config firewall proxy-address

config firewall proxy-address

Web proxy address configuration.

config firewall proxy-address
    Description: Web proxy address configuration.
    edit <name>
        set type [host-regex|url|...]
        set host {string}
        set host-regex {string}
        set path {string}
        set query {string}
        set referrer [enable|disable]
        config category
            Description: FortiGuard category ID.
            edit <id>
            next
        end
        set method [get|post|...]
        set ua [chrome|ms|...]
        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 tags
            Description: Names of object-tags (as configured in config system object-tag) applied to address.
            edit <name>
            next
        end
        set comment {var-string}
        set visibility [enable|disable]
    next
end

config firewall proxy-address

Parameter

Description

Type

Size

type

Proxy address type.

option

-

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: 63

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

-

Option

Description

enable

Enable setting.

disable

Disable setting.

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

-

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 .

integer

Minimum value: 0 Maximum value: 32

comment

Optional comments.

var-string

Maximum length: 255

visibility

Enable/disable visibility of the object in the GUI.

option

-

Option

Description

enable

Enable setting.

disable

Disable setting.

config header-group

Parameter

Description

Type

Size

header-name

HTTP header.

string

Maximum length: 79

header

HTTP header regular expression.

string

Maximum length: 255

case-sensitivity

Case sensitivity in pattern.

option

-

Option

Description

disable

Case insensitive in pattern.

enable

Case sensitive in pattern.

config firewall proxy-address

Web proxy address configuration.

config firewall proxy-address
    Description: Web proxy address configuration.
    edit <name>
        set type [host-regex|url|...]
        set host {string}
        set host-regex {string}
        set path {string}
        set query {string}
        set referrer [enable|disable]
        config category
            Description: FortiGuard category ID.
            edit <id>
            next
        end
        set method [get|post|...]
        set ua [chrome|ms|...]
        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 tags
            Description: Names of object-tags (as configured in config system object-tag) applied to address.
            edit <name>
            next
        end
        set comment {var-string}
        set visibility [enable|disable]
    next
end

config firewall proxy-address

Parameter

Description

Type

Size

type

Proxy address type.

option

-

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: 63

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

-

Option

Description

enable

Enable setting.

disable

Disable setting.

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

-

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 .

integer

Minimum value: 0 Maximum value: 32

comment

Optional comments.

var-string

Maximum length: 255

visibility

Enable/disable visibility of the object in the GUI.

option

-

Option

Description

enable

Enable setting.

disable

Disable setting.

config header-group

Parameter

Description

Type

Size

header-name

HTTP header.

string

Maximum length: 79

header

HTTP header regular expression.

string

Maximum length: 255

case-sensitivity

Case sensitivity in pattern.

option

-

Option

Description

disable

Case insensitive in pattern.

enable

Case sensitive in pattern.