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 (https://forum.opnsense.org/index.php?topic=10453.0)