You need to create a Proxy.PAC file to automatically configure you Internet Explorer browser.
How the PAC file works is that it checks the local IP subnet of your workstation and uses IF/Else Statement to determine if the workstation is located in that particular subnet the proxy server is used. If the workstation is not located within that subnet a direct connection is used.
Create a file in Notepad and copy and paste the below and save as Proxy.PAC, entering your subnet range and proxy server IP address.
[code:1]function FindProxyForURL(url, host)
{
if (isInNet(myIpAddress(), "destination", "mask"))
return "PROXY proxyserverip:8080";
else
return "DIRECT";
}[/code]
For Example, For all workstations in the subnet 192.168.1.0-254 use the proxy server address 192.168.1.1.
[code:1]function FindProxyForURL(url, host)
{
if (isInNet(myIpAddress(), "192.168.1.0", "255.255.255.0"))
return "PROXY 192.168.1.1:8080";
else
return "DIRECT";
}[/code]
Now to configure Internet Explorer, there are two options for making the PAC file available; local or network.
To configure a local PAC file save the Proxy.PAC to the local workstation, for example C:\Proxy\Proxy.PAC then configure Use Automatic Configuration Script to 'file://C:/Proxy/Proxy.PAC'.
To configure the PAC file to be made available from the network this can be performed by making the PAC file available from a internal web address, For example, http://intranet.domain.com/proxy.pac and specify the URL Use Automatic Configuration Script.
The above example is a basic PAC file, you may conifgure the PAC file to include exclusions, use proxy server at certain times/days and so on. This information may be found on the Internet.
You can test the PAC file you create at http://code.google.com/p/pactester/


LinkBack URL
About LinkBacks
Reply With Quote