OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • Web Proxy Filtering and Caching (Moderator: fabian) »
  • wapd not working
« previous next »
  • Print
Pages: [1]

Author Topic: wapd not working  (Read 3071 times)

tt33tt

  • Newbie
  • *
  • Posts: 9
  • Karma: 1
    • View Profile
wapd not working
« on: November 27, 2018, 12:01:27 pm »
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";
}
Logged

hbc

  • Hero Member
  • *****
  • Posts: 501
  • Karma: 47
    • View Profile
Re: wapd not working
« Reply #1 on: November 30, 2018, 05:04:43 pm »
See my reply to your same question in german forum https://forum.opnsense.org/index.php?topic=10453.0
Logged
Intel(R) Xeon(R) Silver 4116 CPU @ 2.10GHz (24 cores)
256 GB RAM, 300GB RAID1, 3x4 10G Chelsio T540-CO-SR

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • Web Proxy Filtering and Caching (Moderator: fabian) »
  • wapd not working
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2