Hi, I have proxy.pac setup for ie, which has worked ok for the time being (clients use proxy when in defined subnet). Now I need to exclude some ip's from proxied hosts, something similiar like in IE's "Do not use proxy for addresses beginning...". Basically client's should go directly to specific ip's. I tried no_cache in squid, but still the outgoing ip is the one that squid uses, so I was hoping I could add something to my proxy.pac, which could bypass the proxy. My current config is something like this:
function FindProxyForURL(url, host) { if (isInNet(myIpAddress(), "192.168.168.0", "255.255.255.0")) { if (url.substring(0, 5) == "http:") { return "PROXY cache.foo.bar:800"; } else if (url.substring(0, 7) == "gopher:") { return "PROXY localhost:800"; } else if (url.substring(0, 6) == "https:" || url.substring(0, 6) == "snews:") { return "PROXY cache.foo.bar:800"; } else { return "DIRECT"; } } else return "DIRECT"; } -MiikaT