wpad - caching proxy part 2
proxy autoconfig is a combination of DHCP optons, and a bit of JS in a wpad.dat file. under network>hostnames add an entry ' wpad ' pointing to your router's lan-ip then create a /www/wpad.dat file (got mine from here ). and changed the default rule to point to polipo - 10.0.0.1:8123 also changed .local into .lan for lan hosts , and commented some stuff out that didn't seem relevant. function FindProxyForURL(url, host) { // If the hostname matches, send direct. // if (dnsDomainIs(host, "intranet.domain.com") || // shExpMatch(host, "(*.abcdomain.com|abcdomain.com)")) // return "DIRECT"; // If the protocol or URL matches, send direct. if (url.substring(0, 4)=="ftp:" || shExpMatch(url, "http://abcdomain.com/folder/*")) return "DIRECT"; // If the requested website is hosted within the internal network, send direct. ...