Quantcast
Channel: Sophos User Bulletin Board
Viewing all articles
Browse latest Browse all 14361

Proxy Auto Config doesn`t work

$
0
0
Referencing to this Thread in the german section i want to ask here if there is someone who could help me with configuring the Proxy Auto config-function of the Astaro.

I tried this code locally and it works as it should:
Code:

function FindProxyForURL(url, host)
{
  //The following URLs will not be proxied
  if (shExpMatch(url, "*unseredomain.local*"))
        {return "DIRECT";}
  if (shExpMatch(url, "*192.168.x.206*"))
        {return "DIRECT";}

  // Set the desired proxy server for local addresses
  if (isInNet(myIpAddress(), "192.168.x.0", "255.255.255.0"))
        {return "PROXY 192.168.x.206:8080" ;}
  if (isInNet(myIpAddress(), "192.168.xx.0", "255.255.255.0"))
        {return "PROXY 192.168.x.206:8080" ;}
  if (isInNet(myIpAddress(), "192.168.***.0", "255.255.255.0"))
        {return "PROXY 192.168.x.206:8080" ;}

  // For all other networks, do not proxy
  return "DIRECT" ;
}

But it doesn`t work when i enter this code in our ASG.

This is the link that i enter in the IE settings:
Code:

http://192.168.x.206:8080/wpad.dat
What do i wrong?

Viewing all articles
Browse latest Browse all 14361

Trending Articles