+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 16
Internet Related/Filtering/Firewall Thread, GPO proxy settings in Technical; Hi we have deployed proxy setting to desktops and laptops. We have a problem when laptops disconnect from the lan ...
  1. #1

    Join Date
    Feb 2008
    Posts
    324
    Thank Post
    51
    Thanked 3 Times in 3 Posts
    Rep Power
    14

    GPO proxy settings

    Hi we have deployed proxy setting to desktops and laptops. We have a problem when laptops disconnect from the lan and go on there personal wireless at home they are unable to connect because of the proxy settings. How can we change this? Teacher are administrator on there laptops and can change this manually is there a way to stop this?


    Thanks

  2. #2

    Hightower's Avatar
    Join Date
    Jun 2008
    Location
    Cloud 9
    Posts
    4,920
    Thank Post
    494
    Thanked 690 Times in 444 Posts
    Rep Power
    241
    Does this help you?

    Proxy On Proxy Off App


  3. #3

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,824
    Thank Post
    875
    Thanked 1,675 Times in 1,458 Posts
    Blog Entries
    12
    Rep Power
    444
    If you use a proxy.pac file and host it on a server inside the school, when a teacher goes home and the laptop cant find the file it will failover and let them access the internet normally. No need to change any settings etc.

    By the way the teacher doesnt need to be an administrator to change the proxy settings.

  4. #4

    Join Date
    Feb 2008
    Posts
    324
    Thank Post
    51
    Thanked 3 Times in 3 Posts
    Rep Power
    14
    Thanks, how do you use proxy.pac files?? We make the teachers administrators, but I want to lock this so they cant change the proxy.


    Thanks

  5. #5


    tom_newton's Avatar
    Join Date
    Sep 2006
    Location
    Leeds
    Posts
    4,462
    Thank Post
    866
    Thanked 845 Times in 667 Posts
    Rep Power
    195
    What FN-GM said

  6. #6

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,824
    Thank Post
    875
    Thanked 1,675 Times in 1,458 Posts
    Blog Entries
    12
    Rep Power
    444
    This is my config file, im sure you can tweak it yourself.

    You can set IE to look at this in group policy or by DHCP, i use group policy.

    Code:
     
    function FindProxyForURL(url, host)
    
    {
    
    //Declare proxy strings as variables
    
    var schoolproxy = "PROXY 172.16.16.52:8080";
    
    // IP not to use proxy
    
    
    if (shExpMatch(url, "*172.*")) { return "DIRECT"; }
    if (shExpMatch(url, "*10.*")) { return "DIRECT"; }
    if (shExpMatch(url, "*192.*")) { return "DIRECT"; }
    if (isPlainHostName(host)) { return "DIRECT"; }
    
    // URLS not to use proxy server
    
    
    if (shExpMatch(url, "*website.com*")) { return "DIRECT"; }
    
    
    // Slect Proxy Server
    
    if (isInNet(myIpAddress(), "172.16.16.0", "255.255.252.0")) { return schoolproxy; }
    
    
    else
    
    return "DIRECT";
    
    }

  7. Thanks to FN-GM from:

    Duke5A (24th May 2011)

  8. #7

    Join Date
    Feb 2008
    Posts
    324
    Thank Post
    51
    Thanked 3 Times in 3 Posts
    Rep Power
    14
    Thanks do you have any info on how to create proxy.pac and I need to exclude some websites from the list.

  9. #8

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,824
    Thank Post
    875
    Thanked 1,675 Times in 1,458 Posts
    Blog Entries
    12
    Rep Power
    444
    Paste the code in note pad. Make the changes to reflect your IP range, subnetmask & Proxy IP.

    To add exceptions add to this section of code

    Code:
    if (shExpMatch(url, "*website.com*")) { return "DIRECT"; }
    Replace website.com with anything you may need and copy that line for any additional ones.

    To specify in ie you do it in the automatic script configuration box like the attached
    Attached Images Attached Images
    Last edited by FN-GM; 20th May 2011 at 11:32 AM.

  10. #9

    Join Date
    Feb 2008
    Posts
    324
    Thank Post
    51
    Thanked 3 Times in 3 Posts
    Rep Power
    14
    ok do I deploy this in gpo Automatic browser Configuration?

    Thanks for your help

  11. #10

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,824
    Thank Post
    875
    Thanked 1,675 Times in 1,458 Posts
    Blog Entries
    12
    Rep Power
    444
    Not sure off the top of my head its in the connect settings under windows in group policy.

    I think you have to prefix the path with file:// - Myself i host it on a intranet server.

  12. #11

    Join Date
    Feb 2008
    Posts
    324
    Thank Post
    51
    Thanked 3 Times in 3 Posts
    Rep Power
    14
    Help....

    I have created a proxy.pac file and am testing it on my local machine file://c:\proxy.pac

    The problem is that its not hitting my proxy server????

    Any ideas??


    Thanks

  13. #12

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,824
    Thank Post
    875
    Thanked 1,675 Times in 1,458 Posts
    Blog Entries
    12
    Rep Power
    444
    can you post your copy of the file please so i can take a quick look to see if there is anything obvious?

    Thanks

  14. #13

    Join Date
    Feb 2008
    Posts
    324
    Thank Post
    51
    Thanked 3 Times in 3 Posts
    Rep Power
    14
    Thanks FN-GM below is the file

    function FindProxyForURL(url, host) {
    return "iport;
    DIRECT";
    }

  15. #14

    bladedanny's Avatar
    Join Date
    May 2009
    Location
    Sheffield
    Posts
    1,268
    Thank Post
    188
    Thanked 298 Times in 224 Posts
    Rep Power
    130
    --Edit-- sorry ignore me, I've just tested and it makes no difference.

  16. #15

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,824
    Thank Post
    875
    Thanked 1,675 Times in 1,458 Posts
    Blog Entries
    12
    Rep Power
    444
    Quote Originally Posted by itgeek View Post
    Thanks FN-GM below is the file

    function FindProxyForURL(url, host) {
    return "iport;
    DIRECT";
    }

    Can we see the rest please

    Also can you put it in a coded area so the forum doesnt do things like putting in smiley faces

SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 22
    Last Post: 2nd March 2011, 02:49 PM
  2. Replies: 4
    Last Post: 25th November 2010, 10:22 AM
  3. Replies: 10
    Last Post: 12th October 2009, 11:16 AM
  4. HOw do tou enforce proxy settings in a gpo
    By markman in forum Windows
    Replies: 14
    Last Post: 15th October 2008, 12:40 PM
  5. Problem with Proxy settings in GPO
    By tosca925 in forum Windows
    Replies: 9
    Last Post: 18th January 2006, 12:54 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

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