Fortinet white logo
Fortinet white 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

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 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

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