Fortinet Document Library

Version:


Table of Contents

CLI Reference

6.2.1
Copy Link

Configure forward-server addresses.

  config web-proxy forward-server
      Description: Configure forward-server addresses.
      edit <name>
          set addr-type [ip|fqdn]
          set ip {ipv4-address-any}
          set fqdn {string}
          set port {integer}
          set healthcheck [disable|enable]
          set monitor {string}
          set server-down-option [block|pass]
          set comment {string}
      next
  end

config web-proxy forward-server

Parameter Name Description Type Size
addr-type Address type of the forwarding proxy server: IP or FQDN.
ip: Use an IP address for the forwarding proxy server.
fqdn: Use the FQDN for the forwarding proxy server.
option -
ip Forward proxy server IP address. ipv4-address-any Not Specified
fqdn Forward server Fully Qualified Domain Name (FQDN). string Maximum length: 255
port Port number that the forwarding server expects to receive HTTP sessions on (1 - 65535, default = 3128). integer Minimum value: 1 Maximum value: 65535
healthcheck Enable/disable forward server health checking. Attempts to connect through the remote forwarding server to a destination to verify that the forwarding server is operating normally.
disable: Disable health checking.
enable: Enable health checking.
option -
monitor URL for forward server health check monitoring (default = http://www.google.com). string Maximum length: 255
server-down-option Action to take when the forward server is found to be down: block sessions until the server is back up or pass sessions to their destination.
block: Block sessions until the server is back up.
pass: Pass sessions to their destination bypassing the forward server.
option -
comment Comment. string Maximum length: 63

Configure forward-server addresses.

  config web-proxy forward-server
      Description: Configure forward-server addresses.
      edit <name>
          set addr-type [ip|fqdn]
          set ip {ipv4-address-any}
          set fqdn {string}
          set port {integer}
          set healthcheck [disable|enable]
          set monitor {string}
          set server-down-option [block|pass]
          set comment {string}
      next
  end

config web-proxy forward-server

Parameter Name Description Type Size
addr-type Address type of the forwarding proxy server: IP or FQDN.
ip: Use an IP address for the forwarding proxy server.
fqdn: Use the FQDN for the forwarding proxy server.
option -
ip Forward proxy server IP address. ipv4-address-any Not Specified
fqdn Forward server Fully Qualified Domain Name (FQDN). string Maximum length: 255
port Port number that the forwarding server expects to receive HTTP sessions on (1 - 65535, default = 3128). integer Minimum value: 1 Maximum value: 65535
healthcheck Enable/disable forward server health checking. Attempts to connect through the remote forwarding server to a destination to verify that the forwarding server is operating normally.
disable: Disable health checking.
enable: Enable health checking.
option -
monitor URL for forward server health check monitoring (default = http://www.google.com). string Maximum length: 255
server-down-option Action to take when the forward server is found to be down: block sessions until the server is back up or pass sessions to their destination.
block: Block sessions until the server is back up.
pass: Pass sessions to their destination bypassing the forward server.
option -
comment Comment. string Maximum length: 63