Fortinet Document Library

Version:


Table of Contents

CLI Reference

6.0.0
Download PDF
Copy Link

firewall proxy-address

Use this command to configure the objects for proxy type addresses.

config firewall proxy-address
    edit {name}
    # Web proxy address configuration.
        set name {string}   Address name. size[35]
        set uuid {uuid}   Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
        set type {option}   Proxy address type.
                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.
        set host {string}   Address object for the host. size[63] - datasource(s): firewall.address.name,firewall.addrgrp.name,firewall.proxy-address.name
        set host-regex {string}   Host name as a regular expression. size[255]
        set path {string}   URL path as a regular expression. size[255]
        set query {string}   Match the query part of the URL as a regular expression. size[255]
        set referrer {enable | disable}   Enable/disable use of referrer field in the HTTP header to match the address.
        config category
            edit {id}
            # FortiGuard category ID.
                set id {integer}   Fortiguard category id. range[0-4294967295]
            next
        set method {option}   HTTP request methods to be used.
                get      GET method.
                post     POST method.
                put      PUT method.
                head     HEAD method.
                connect  CONNECT method.
                trace    TRACE method.
                options  OPTIONS method.
                delete   DELETE method.
        set ua {option}   Names of browsers to be used as user agent.
                chrome   Google Chrome.
                ms       Microsoft Internet Explorer or EDGE.
                firefox  Mozilla Firefox.
                safari   Apple Safari.
                other    Other browsers.
        set header-name {string}   Name of HTTP header. size[79]
        set header {string}   HTTP header name as a regular expression. size[255]
        set case-sensitivity {disable | enable}   Enable to make the pattern case sensitive.
        config header-group
            edit {id}
            # HTTP header group.
                set id {integer}   ID. range[0-4294967295]
                set header-name {string}   HTTP header. size[79]
                set header {string}   HTTP header regular expression. size[255]
                set case-sensitivity {disable | enable}   Case sensitivity in pattern.
            next
        set color {integer}   Integer value to determine the color of the icon in the GUI (1 - 32, default = 0, which sets value to 1). range[0-32]
        config tagging
            edit {name}
            # Config object tagging.
                set name {string}   Tagging entry name. size[63]
                set category {string}   Tag category. size[63] - datasource(s): system.object-tagging.category
                config tags
                    edit {name}
                    # Tags.
                        set name {string}   Tag name. size[64] - datasource(s): system.object-tagging.tags.name
                    next
            next
        set comment {string}   Optional comments. size[255]
        set visibility {enable | disable}   Enable/disable visibility of the object in the GUI.
    next
end

Additional information

The following section is for those options that require additional explanation.

firewall proxy-address

Use this command to configure the objects for proxy type addresses.

config firewall proxy-address
    edit {name}
    # Web proxy address configuration.
        set name {string}   Address name. size[35]
        set uuid {uuid}   Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
        set type {option}   Proxy address type.
                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.
        set host {string}   Address object for the host. size[63] - datasource(s): firewall.address.name,firewall.addrgrp.name,firewall.proxy-address.name
        set host-regex {string}   Host name as a regular expression. size[255]
        set path {string}   URL path as a regular expression. size[255]
        set query {string}   Match the query part of the URL as a regular expression. size[255]
        set referrer {enable | disable}   Enable/disable use of referrer field in the HTTP header to match the address.
        config category
            edit {id}
            # FortiGuard category ID.
                set id {integer}   Fortiguard category id. range[0-4294967295]
            next
        set method {option}   HTTP request methods to be used.
                get      GET method.
                post     POST method.
                put      PUT method.
                head     HEAD method.
                connect  CONNECT method.
                trace    TRACE method.
                options  OPTIONS method.
                delete   DELETE method.
        set ua {option}   Names of browsers to be used as user agent.
                chrome   Google Chrome.
                ms       Microsoft Internet Explorer or EDGE.
                firefox  Mozilla Firefox.
                safari   Apple Safari.
                other    Other browsers.
        set header-name {string}   Name of HTTP header. size[79]
        set header {string}   HTTP header name as a regular expression. size[255]
        set case-sensitivity {disable | enable}   Enable to make the pattern case sensitive.
        config header-group
            edit {id}
            # HTTP header group.
                set id {integer}   ID. range[0-4294967295]
                set header-name {string}   HTTP header. size[79]
                set header {string}   HTTP header regular expression. size[255]
                set case-sensitivity {disable | enable}   Case sensitivity in pattern.
            next
        set color {integer}   Integer value to determine the color of the icon in the GUI (1 - 32, default = 0, which sets value to 1). range[0-32]
        config tagging
            edit {name}
            # Config object tagging.
                set name {string}   Tagging entry name. size[63]
                set category {string}   Tag category. size[63] - datasource(s): system.object-tagging.category
                config tags
                    edit {name}
                    # Tags.
                        set name {string}   Tag name. size[64] - datasource(s): system.object-tagging.tags.name
                    next
            next
        set comment {string}   Optional comments. size[255]
        set visibility {enable | disable}   Enable/disable visibility of the object in the GUI.
    next
end

Additional information

The following section is for those options that require additional explanation.