+ Post New Thread
Page 2 of 2 FirstFirst 12
Results 16 to 21 of 21
Network and Classroom Management Thread, Proxy switch "proxy on" & " proxy off" software in Technical; ops:...
  1. #16
    monkeyx's Avatar
    Join Date
    Nov 2006
    Posts
    364
    Thank Post
    8
    Thanked 52 Times in 41 Posts
    Rep Power
    25

    Re: Proxy switch "proxy on" & " proxy off" software

    ops:

  2. #17
    SwedishChef's Avatar
    Join Date
    Apr 2006
    Location
    Plymouth
    Posts
    115
    Thank Post
    15
    Thanked 11 Times in 8 Posts
    Rep Power
    19

    Re: Proxy switch "proxy on" & " proxy off" software

    Call me anal but I wanted to make sure our staff were protected on staff laptops at home as well as in work.

    So I

    1. Disabled the proxy setting for staff,
    2. Created a AD deploayable CMAK connection which installs tyo the machine at startup via a startup script.

    That staff just needed to double click on and VPN icon on the desktop to VPN into the school.

    3. the school proxy then became available and web access was then logged.

    ;-)


    Just a different route you can go down.....

  3. #18
    Oops_my_bad's Avatar
    Join Date
    Jan 2007
    Location
    Man chest hair
    Posts
    1,738
    Thank Post
    438
    Thanked 53 Times in 50 Posts
    Rep Power
    30

    Re: Proxy switch "proxy on" & " proxy off" software

    Quote Originally Posted by mortstar
    I use a very similar setting as Irazmus.

    A proxy.pac file, stored on the school site. Teachers laptops point at this file in "Use Automatic Configuration Script". If their IP is on our range then they go through our proxy. If not they have direct access to the net.

    Works a treat for all those who want to use their laptops for internet at home.
    I will probably get slapped for digging up old topics - but do you have the code for that pac file?

  4. #19


    Join Date
    Jan 2006
    Posts
    8,202
    Thank Post
    442
    Thanked 1,032 Times in 812 Posts
    Rep Power
    339

    Re: Proxy switch "proxy on" & " proxy off" software

    Code:
    function FindProxyForURL(url, host)
    {
    var proxy_yes = "PROXY 192.168.0.1:8080";
    var proxy_no = "DIRECT";
    
    if (shExpMatch(url, "http://internal/*")) { return proxy_no; }
    if (shExpMatch(url, "http://intranet/*")) { return proxy_no; }
    if (shExpMatch(url, "https://intranet/*")) { return proxy_no; }
    return proxy_yes;
    }

  5. #20


    Join Date
    Jan 2006
    Posts
    8,202
    Thank Post
    442
    Thanked 1,032 Times in 812 Posts
    Rep Power
    339

    Re: Proxy switch "proxy on" & " proxy off" software

    missed the IP bit:

    Code:
    if (isInNet(host, "10.0.0.0",  "255.255.248.0"))    {
            return "PROXY fastproxy.foo.com:8080";
         }

    from:
    http://en.wikipedia.org/wiki/Proxy_auto-config

  6. #21
    Oops_my_bad's Avatar
    Join Date
    Jan 2007
    Location
    Man chest hair
    Posts
    1,738
    Thank Post
    438
    Thanked 53 Times in 50 Posts
    Rep Power
    30

    Re: Proxy switch "proxy on" & " proxy off" software

    thanks!

SHARE:
+ Post New Thread
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Replies: 31
    Last Post: 30th June 2008, 10:03 AM
  2. Replies: 3
    Last Post: 7th November 2007, 09:51 AM
  3. Replies: 6
    Last Post: 28th September 2006, 07:06 PM
  4. Replies: 2
    Last Post: 13th June 2006, 09:22 PM

Thread Information

Users Browsing this Thread

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

Posting Permissions

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