Fortinet white logo
Fortinet white logo

CLI Reference

config web-proxy forward-server

config web-proxy forward-server

Configure forward-server addresses.

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

config web-proxy forward-server

Parameter

Description

Type

Size

Default

addr-type

Address type of the forwarding proxy server: IP or FQDN.

option

-

ip

Option

Description

ip

Use an IP address for the forwarding proxy server.

fqdn

Use the FQDN for the forwarding proxy server.

comment

Comment.

string

Maximum length: 63

fqdn

Forward server Fully Qualified Domain Name (FQDN).

string

Maximum length: 255

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.

option

-

disable

Option

Description

disable

Disable health checking.

enable

Enable health checking.

ip

Forward proxy server IP address.

ipv4-address-any

Not Specified

0.0.0.0

monitor

URL for forward server health check monitoring.

string

Maximum length: 255

http://www.google.com

name

Server name.

string

Maximum length: 63

password

HTTP authentication password.

password

Not Specified

port

Port number that the forwarding server expects to receive HTTP sessions on.

integer

Minimum value: 1 Maximum value: 65535

3128

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.

option

-

block

Option

Description

block

Block sessions until the server is back up.

pass

Pass sessions to their destination bypassing the forward server.

username

HTTP authentication user name.

string

Maximum length: 64

config web-proxy forward-server

config web-proxy forward-server

Configure forward-server addresses.

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

config web-proxy forward-server

Parameter

Description

Type

Size

Default

addr-type

Address type of the forwarding proxy server: IP or FQDN.

option

-

ip

Option

Description

ip

Use an IP address for the forwarding proxy server.

fqdn

Use the FQDN for the forwarding proxy server.

comment

Comment.

string

Maximum length: 63

fqdn

Forward server Fully Qualified Domain Name (FQDN).

string

Maximum length: 255

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.

option

-

disable

Option

Description

disable

Disable health checking.

enable

Enable health checking.

ip

Forward proxy server IP address.

ipv4-address-any

Not Specified

0.0.0.0

monitor

URL for forward server health check monitoring.

string

Maximum length: 255

http://www.google.com

name

Server name.

string

Maximum length: 63

password

HTTP authentication password.

password

Not Specified

port

Port number that the forwarding server expects to receive HTTP sessions on.

integer

Minimum value: 1 Maximum value: 65535

3128

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.

option

-

block

Option

Description

block

Block sessions until the server is back up.

pass

Pass sessions to their destination bypassing the forward server.

username

HTTP authentication user name.

string

Maximum length: 64