Fortinet white logo
Fortinet white logo

CLI Reference

web-proxy

web-proxy

Use this command to configure the system web proxy.

Syntax

config system web-proxy

set address <string>

set mode {proxy | tunnel}

set password <passwd>

set port <integer>

set status {enable | disable}

set username <string>

end

Variable

Description

address <string>

Enter the web proxy address.

mode {proxy | tunnel}

Enter the web proxy mode (default = tunnel).

  • tunnel mode uses port TCP/443.

  • proxy mode uses port TCP/80.

password <passwd>

Enter the password for the user name used for authentication (default = *).

port <integer>

Enter the port number of the web proxy (1 - 65535, default = 1080).

status {enable | disable}

Enable/disable system web proxy (default = disable).

username <string>

Enter the user name used for authentication.

web-proxy

web-proxy

Use this command to configure the system web proxy.

Syntax

config system web-proxy

set address <string>

set mode {proxy | tunnel}

set password <passwd>

set port <integer>

set status {enable | disable}

set username <string>

end

Variable

Description

address <string>

Enter the web proxy address.

mode {proxy | tunnel}

Enter the web proxy mode (default = tunnel).

  • tunnel mode uses port TCP/443.

  • proxy mode uses port TCP/80.

password <passwd>

Enter the password for the user name used for authentication (default = *).

port <integer>

Enter the port number of the web proxy (1 - 65535, default = 1080).

status {enable | disable}

Enable/disable system web proxy (default = disable).

username <string>

Enter the user name used for authentication.