Fortinet black logo

CLI Reference

config web-proxy pac-policy

config web-proxy pac-policy

Configure explicit Web proxy pac policy.

config web-proxy pac-policy
    Description: Configure explicit Web proxy pac policy.
    edit <policyid>
        set status [enable|disable]
        config srcaddr
            Description: Source address objects.
            edit <name>
            next
        end
        config srcaddr6
            Description: Source address6 objects.
            edit <name>
            next
        end
        config dstaddr
            Description: Destination address objects.
            edit <name>
            next
        end
        set pac-file-name {string}
        set pac-file-data {user}
        set comments {var-string}
    next
end

config web-proxy pac-policy

Parameter

Description

Type

Size

policyid

Policy ID.

integer

Minimum value: 1 Maximum value: 100

status

Enable/disable policy.

option

-

Option

Description

enable

Enable policy.

disable

Disable policy.

pac-file-name

Pac file name.

string

Maximum length: 63

pac-file-data

PAC file contents enclosed in quotes (maximum of 256K bytes).

user

Not Specified

comments

Optional comments.

var-string

Maximum length: 1023

config srcaddr

Parameter

Description

Type

Size

name

Address name.

string

Maximum length: 64

config srcaddr6

Parameter

Description

Type

Size

name

Address name.

string

Maximum length: 64

config dstaddr

Parameter

Description

Type

Size

name

Address name.

string

Maximum length: 64

config web-proxy pac-policy

Configure explicit Web proxy pac policy.

config web-proxy pac-policy
    Description: Configure explicit Web proxy pac policy.
    edit <policyid>
        set status [enable|disable]
        config srcaddr
            Description: Source address objects.
            edit <name>
            next
        end
        config srcaddr6
            Description: Source address6 objects.
            edit <name>
            next
        end
        config dstaddr
            Description: Destination address objects.
            edit <name>
            next
        end
        set pac-file-name {string}
        set pac-file-data {user}
        set comments {var-string}
    next
end

config web-proxy pac-policy

Parameter

Description

Type

Size

policyid

Policy ID.

integer

Minimum value: 1 Maximum value: 100

status

Enable/disable policy.

option

-

Option

Description

enable

Enable policy.

disable

Disable policy.

pac-file-name

Pac file name.

string

Maximum length: 63

pac-file-data

PAC file contents enclosed in quotes (maximum of 256K bytes).

user

Not Specified

comments

Optional comments.

var-string

Maximum length: 1023

config srcaddr

Parameter

Description

Type

Size

name

Address name.

string

Maximum length: 64

config srcaddr6

Parameter

Description

Type

Size

name

Address name.

string

Maximum length: 64

config dstaddr

Parameter

Description

Type

Size

name

Address name.

string

Maximum length: 64