Results 1 to 3 of 3

Thread: Proxy Setting within IE

  1. #1
    PreviousPoster is offline 100+ Helpful Posts! 50+ Helpful Posts
    Join Date
    Dec 1969
    Posts
    1,254

    Default

    Hi,

    Is there a way within group policy that we can setup a proxy server setting that removes itself on logoff.

    We have laptops that when in the building need to be using the proxy server but when working from home or other client offices require it to be open.

    ANy ideas would be grateful.

    We are running a windows 2003 server network with laptops running majority of XP, a few vista and a couple 2000 Professional.

    Thanks in Advance.[/b]

  2. #2
    PreviousPoster is offline 100+ Helpful Posts! 50+ Helpful Posts
    Join Date
    Dec 1969
    Posts
    1,254

    Default

    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/

  3. #3
    PreviousPoster is offline 100+ Helpful Posts! 50+ Helpful Posts
    Join Date
    Dec 1969
    Posts
    1,254

    Default

    Hello,
    I have the exact same scenario as Jonnygrim. Vincenoir could you possibly confirm that a locally stored PAC file, and its related path, are compatible with Internet Explorer 7. I have read that IE7 does not resond to the file://x:/proxy.pac extension.

    Any information would be appreciated.

    Regards.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Search Engine Friendly URLs by vBSEO