wapd not working

Started by tt33tt, November 27, 2018, 12:01:27 PM

Previous topic - Next topic
I get a wpad.dat-file by https://wpad.domain.local/wpad.dat But by using auto configuration in browser Internet Explorer there is the error "INET_E_RESOURCE_NOT_FOUND". By inserting proxy manual into the settings of my browser: all is fine.

Is there a misconfiguration:

/*
  PAC file created via OPNsense
  To use this file you have to enter its URL into your browsers network settings.
*/
function FindProxyForURL(url, host) {




if (((!isPlainHostName(host)) && (!shExpMatch(host, "*.domain")) && (!shExpMatch(host, "*.domain.local")))) {
return "PROXY OPNsense.domain.local:3128";
}

   // If no rule exists - use a direct connection
   return "DIRECT";
}

See my reply to your same question in german forum https://forum.opnsense.org/index.php?topic=10453.0
Intel(R) Xeon(R) Silver 4116 CPU @ 2.10GHz (24 cores)
256 GB RAM, 300GB RAID1, 3x4 10G Chelsio T540-CO-SR