Created
March 28, 2020 09:19
-
-
Save normansolutions/e0b34d57985d09bd8533a33be25b01cb to your computer and use it in GitHub Desktop.
HZG Proxy Pac File
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function FindProxyForURL(url, host) { | |
// Your proxy server name and port | |
var proxy_yes = "PROXY proxylb.schoolsbroadband.net:31702"; | |
var proxy_no = "DIRECT"; | |
if (isInNet(myIpAddress(), "10.3.0.0", "255.255.0.0")) return proxy_no; | |
// DEFAULT RULE: All other traffic, send direct | |
return proxy_yes; | |
} | |
function FindProxyForURLEx(url, host) { | |
// Your proxy server name and port | |
var proxy_yes = "PROXY proxylb.schoolsbroadband.net:31702"; | |
var proxy_no = "DIRECT"; | |
if (isInNetEx(myIpAddress(), "10.3.0.0/16")) return proxy_no; | |
// DEFAULT RULE: All other traffic, send direct | |
return proxy_yes; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment