Fortinet Document Library

Version:


Table of Contents

CLI Reference

6.2.1
Copy Link

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}
          set visibility [enable|disable]
      next
  end

config firewall proxy-address

Parameter Name Description Type Size
uuid Universally Unique Identifier (UUID; automatically assigned but can be manually reset). uuid Not Specified
type 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.
option -
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.
enable: Enable setting.
disable: Disable setting.
option -
category <id> FortiGuard category ID.
Fortiguard category id.
integer Minimum value: 0 Maximum value: 4294967295
method 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.
option -
ua 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.
option -
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.
disable: Case insensitive in pattern.
enable: Case sensitive in pattern.
option -
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
comment Optional comments. var-string Maximum length: 255
visibility Enable/disable visibility of the object in the GUI.
enable: Enable setting.
disable: Disable setting.
option -

config header-group

Parameter Name 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.
disable: Case insensitive in pattern.
enable: Case sensitive in pattern.
option -

config tagging

Parameter Name Description Type Size
category Tag category. string Maximum length: 63
tags <name> Tags.
Tag name.
string Maximum length: 79

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}
          set visibility [enable|disable]
      next
  end

config firewall proxy-address

Parameter Name Description Type Size
uuid Universally Unique Identifier (UUID; automatically assigned but can be manually reset). uuid Not Specified
type 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.
option -
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.
enable: Enable setting.
disable: Disable setting.
option -
category <id> FortiGuard category ID.
Fortiguard category id.
integer Minimum value: 0 Maximum value: 4294967295
method 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.
option -
ua 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.
option -
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.
disable: Case insensitive in pattern.
enable: Case sensitive in pattern.
option -
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
comment Optional comments. var-string Maximum length: 255
visibility Enable/disable visibility of the object in the GUI.
enable: Enable setting.
disable: Disable setting.
option -

config header-group

Parameter Name 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.
disable: Case insensitive in pattern.
enable: Case sensitive in pattern.
option -

config tagging

Parameter Name Description Type Size
category Tag category. string Maximum length: 63
tags <name> Tags.
Tag name.
string Maximum length: 79