WPAD Rewrite

Implementing a WPAD to PAC redirection without usig the proxy as DNS server.

Assumptions:

Requrements:

<Proxy>
  url=http://wpad/wpad.dat action.rewrite_pac(yes)
  define action rewrite_pac
  rewrite(url,"^http://wpad.wpad.dat","https://192.168.1.1:8082/accelerated_pac_base.pac")
  end

Explanamtion

Internet Explorer tries to connect to http://wpad/wpad.dat, then to http://wpad.corp.local (dns-suffix).
Client connects to ProxySG port 80 (because FQDN is resolved to ProxySG's IP-address).
Local policy rewrites request to accelerated PAC.