[squid-users] Wpad

Amos Jeffries squid3 at treenet.co.nz
Thu Oct 3 03:51:41 UTC 2024


On 2/10/24 05:05, Jonathan Lee wrote:
> Hello fellow squid users,
> 
> Can you please help? I am attempting to run wpad on the same machine as squid however port 80 443 is blocked, I have a url redirect 192.168.1.1/wpad.dat to https://192.168.1.1:8080/wpad.dat this is done with use of squid guard, however you must disable bypass for 192.168.1.1 on squid. Squid resides on 192.168.1.1:3128,
> 
> It works on the iMac for auto config proxy I can access the url file within the redirect.
> 
> My question is how can this be managed directly with squid custom config ?? Is there a way to have squid manage a simple wpad?


   acl wpad urlpath_regex ^/wpad.dat$
   deny_info 200:/etc/squid/wpad.dat wpad
   http_access deny wpad

   reply_header_access Content-Type deny wpad
   reply_header_replace Content-Type application/x-ns-proxy-autoconfig



HTH
Amos


More information about the squid-users mailing list