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 comment {var-string}
        set addr-type [ip|fqdn]
        set ip {ipv4-address-any}
        set fqdn {string}
        set port {integer}
        set masquerade [enable|disable]
        set healthcheck [disable|enable]
        set monitor {string}
        set server-down-option [block|pass]
        set authentication [disabled|immediately|...]
        set user {string}
        set password {password}
    next
end

config web-proxy forward-server

Parameter

Description

Type

Size

comment

Comment.

var-string

Maximum length: 255

addr-type

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

option

-

Option

Description

ip

Use an IP address for the forwarding proxy server.

fqdn

Use the FQDN for the forwarding proxy server.

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 .

integer

Minimum value: 1 Maximum value: 65535

masquerade

Set webproxy to use device address to connect proxy server.

option

-

Option

Description

enable

Enable using device address to connect proxy server.

disable

Disable using device address to connect proxy server.

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

-

Option

Description

disable

Disable health checking.

enable

Enable health checking.

monitor

URL for forward server health check monitoring .

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.

option

-

Option

Description

block

Block sessions until the server is back up.

pass

Pass sessions to their destination bypassing the forward server.

authentication

Authentication type.

option

-

Option

Description

disabled

Do not add authentication information.

immediately

Always use authentication information to access the forward-server.

upon-challenge

Only use authentication information after received a server authentication challenge.

user

User name of basic proxy authentication.

string

Maximum length: 64

password

User password of basic proxy authentication.

password

Not Specified

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 comment {var-string}
        set addr-type [ip|fqdn]
        set ip {ipv4-address-any}
        set fqdn {string}
        set port {integer}
        set masquerade [enable|disable]
        set healthcheck [disable|enable]
        set monitor {string}
        set server-down-option [block|pass]
        set authentication [disabled|immediately|...]
        set user {string}
        set password {password}
    next
end

config web-proxy forward-server

Parameter

Description

Type

Size

comment

Comment.

var-string

Maximum length: 255

addr-type

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

option

-

Option

Description

ip

Use an IP address for the forwarding proxy server.

fqdn

Use the FQDN for the forwarding proxy server.

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 .

integer

Minimum value: 1 Maximum value: 65535

masquerade

Set webproxy to use device address to connect proxy server.

option

-

Option

Description

enable

Enable using device address to connect proxy server.

disable

Disable using device address to connect proxy server.

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

-

Option

Description

disable

Disable health checking.

enable

Enable health checking.

monitor

URL for forward server health check monitoring .

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.

option

-

Option

Description

block

Block sessions until the server is back up.

pass

Pass sessions to their destination bypassing the forward server.

authentication

Authentication type.

option

-

Option

Description

disabled

Do not add authentication information.

immediately

Always use authentication information to access the forward-server.

upon-challenge

Only use authentication information after received a server authentication challenge.

user

User name of basic proxy authentication.

string

Maximum length: 64

password

User password of basic proxy authentication.

password

Not Specified