This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

proxy.pac with astaro

Hi,
I need to replace an old squid machine with a new ASG220.
I will use the web security in AD SSO mode so I need to setup the proxy settings in the browser.
This customer is using a proxy.pac configuration, can I simply modify this file to redirect the requests to the Astaro so that I don't need to change all the browser settings?
Thank you!!![:)]


This thread was automatically locked due to age.
Parents
  • Absolutely. We have successfully pointed our .PAC file to the Astaro.

    function FindProxyForURL(url, host)
    {
    // variable strings to return
    var proxy_yes = "PROXY 192.168.1.80:8080";
    var proxy_no = "DIRECT";

    // If IP address is internal or hostname resolves to internal IP, send direct.

    var resolved_ip = dnsResolve(host);

    if (isInNet(resolved_ip, "10.0.0.0", "255.0.0.0") ||
    isInNet(resolved_ip, "172.16.0.0",  "255.240.0.0") ||
    isInNet(resolved_ip, "192.168.0.0", "255.255.0.0") ||
    isInNet(resolved_ip, "127.0.0.0", "255.255.255.0"))
    return "DIRECT";

    // Proxy anything else
    return proxy_yes;
    }
Reply
  • Absolutely. We have successfully pointed our .PAC file to the Astaro.

    function FindProxyForURL(url, host)
    {
    // variable strings to return
    var proxy_yes = "PROXY 192.168.1.80:8080";
    var proxy_no = "DIRECT";

    // If IP address is internal or hostname resolves to internal IP, send direct.

    var resolved_ip = dnsResolve(host);

    if (isInNet(resolved_ip, "10.0.0.0", "255.0.0.0") ||
    isInNet(resolved_ip, "172.16.0.0",  "255.240.0.0") ||
    isInNet(resolved_ip, "192.168.0.0", "255.255.0.0") ||
    isInNet(resolved_ip, "127.0.0.0", "255.255.255.0"))
    return "DIRECT";

    // Proxy anything else
    return proxy_yes;
    }
Children
No Data