Fortinet black logo

CLI Reference

config web-proxy implicit-proxy-rule

config web-proxy implicit-proxy-rule

Configure implicit webproxy rule.

config web-proxy implicit-proxy-rule
    Description: Configure implicit webproxy rule.
    edit <name>
        set load-balance-method [static|round-robin|...]
        set bypass-list <name1>, <name2>, ...
        config proxy-servers
            Description: Rule proxy server entries.
            edit <id>
                set ip {ipv4-address-any}
                set port {integer}
                set weight {integer}
            next
        end
    next
end

config web-proxy implicit-proxy-rule

Parameter

Description

Type

Size

Default

name

Rule name.

string

Maximum length: 63

load-balance-method

Method used to distribute sessions to proxies.

option

-

static

Option

Description

static

Distribute to server based on source IP.

round-robin

Distribute to server based round robin order.

first-alive

Distribute to the first server that is alive.

weighted

Distribute to server based on weight.

bypass-list <name>

Addresses for which you do not want to use any proxy

Address name.

string

Maximum length: 79

config proxy-servers

Parameter

Description

Type

Size

Default

id

Server ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

ip

Proxy IP address.

ipv4-address-any

Not Specified

0.0.0.0

port

Proxy port number.

integer

Minimum value: 1 Maximum value: 65535

8080

weight

Weight of the proxy server. If weighted load balancing is enabled, the server with the highest weight gets more connections.

integer

Minimum value: 1 Maximum value: 255

1

config web-proxy implicit-proxy-rule

Configure implicit webproxy rule.

config web-proxy implicit-proxy-rule
    Description: Configure implicit webproxy rule.
    edit <name>
        set load-balance-method [static|round-robin|...]
        set bypass-list <name1>, <name2>, ...
        config proxy-servers
            Description: Rule proxy server entries.
            edit <id>
                set ip {ipv4-address-any}
                set port {integer}
                set weight {integer}
            next
        end
    next
end

config web-proxy implicit-proxy-rule

Parameter

Description

Type

Size

Default

name

Rule name.

string

Maximum length: 63

load-balance-method

Method used to distribute sessions to proxies.

option

-

static

Option

Description

static

Distribute to server based on source IP.

round-robin

Distribute to server based round robin order.

first-alive

Distribute to the first server that is alive.

weighted

Distribute to server based on weight.

bypass-list <name>

Addresses for which you do not want to use any proxy

Address name.

string

Maximum length: 79

config proxy-servers

Parameter

Description

Type

Size

Default

id

Server ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

ip

Proxy IP address.

ipv4-address-any

Not Specified

0.0.0.0

port

Proxy port number.

integer

Minimum value: 1 Maximum value: 65535

8080

weight

Weight of the proxy server. If weighted load balancing is enabled, the server with the highest weight gets more connections.

integer

Minimum value: 1 Maximum value: 255

1