Procedure
1.
In the system web interface, go to
Network
>
LAN Network
>
Web Proxy Settings
.
2.
Select
Update PAC File
to fetch the latest version of the file from the server.
Related Links
Manually Configure a Web Proxy
on page 62
Manually Configure a Web Proxy
You can manually configure your system to communicate with a web proxy by providing a proxy address,
port, and credentials (if required).
This method lets you configure your system with only one proxy.
Procedure
1.
In the system web interface, go to
Network
>
LAN Network
>
Web Proxy Settings
.
2.
If checked, clear the
Automatic Configuration
check box.
3.
Enter the
Proxy Address
and
Proxy Port
.
4.
Enter the
Proxy User Name
and
Proxy Password
.
5.
Select
Save
.
Related Links
Manually Update the PAC File on the System
on page 61
on page 60
Sample PAC File
A proxy auto-configuration (PAC) file is a text file that instructs your system to forward traffic to a proxy
server.
The following code shows a sample PAC file.
function FindProxyForURL(url, host)
{
if ( url.substring (0, 5) == "http:" )
{return "PROXY 10.221.77.3:8080; PROXY 10.221.76.7:8080;DIRECT";}
else if ( url.substring (0, 6) == "https:" )
{return "PROXY 10.221.77.3:8080; PROXY 10.221.76.7:8080;DIRECT";}
else
{return "DIRECT";}
}
The Function “
function FindProxyForURL(url, host)
” returns a string with one or more access
method specifications. These specifications cause your system to use a particular proxy server or connect
directly.
This function instructs your system to retrieve information for http / https protocols using the first proxy,
that is “PROXY 10.221.77.3:8080”.
If “PROXY 10.221.77.3:8080” is unreachable/unresponsive, then your system tries the second proxy, that
is “PROXY 10.221.76.7:8080”.
For more examples on PAC syntax, refer to
Proxy Auto-Configuration (PAC) file
.
PAC file limitations:
Securing the System
62