Jump to content

MrMarkT

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by MrMarkT

  1. Thank you for your quick reply!! With response to your reply our Network Ip ranges are all class c so conflict does happen if the user's router/modem at home also users the same class c range. I was thinking about using if (isInNet(myIpAddress, "192.168.subnet.0", "255.255.255.0")) || (isInNet(myIpAddress, "192.168.anothersubnet.0", "255.255.255.0")) || etc... The only problem is that we have about 20 subnets, curious to whether it may lag checking all the ranges. Will let you know
  2. Good morning Gents/Ladies i have been given the task from my company to create a PAC file for our corporate laptop users. All i need the PAC file to do is to detect that if the user is at work their web traffic will get pointed to our internal proxy if at home to go DIRECT. This is what i have. function FindProxyForURL (url, host) { return "PROXY 192.168.10.65:8080; DIRECT"; } My biggest gripe is that if the user is at home it takes upwards of 40 seconds for the PAC file to timeout from not detecting the internal web proxy. Can anyone please give me a fix it would be greatly appreciated Thanks, Mark
×
×
  • Create New...