Maybe
What IP do you want to put inside the WPAD? If the template puts the green IP, clients from blue will not work and the other way around.
Instead, you can create a DNS pointing to multiple IP, but from your tests it doesnāt seems to work correctly even with the DNS name.
I donāt see any clear solution, except of configuring the proxy in transparent mode.
Am I wrong? Any other suggestion?
I thought the same thing, but it still routes properly from the blue network and works perfectly. Hereās a screenshot of a Ubuntu VM in my test environment to illustrate:
Even though itās on the blue network (192.168.10.0), it can still route to, contact, and download the wpad.dat from the router on its green IP (192.168.1.1). You can see Google and Yahoo HTTPS sites open in the background too.
Hereās another screenshot showing the current wpad.dat and the browser proxy settings. Itās using transparent proxy for http and manual for https. wpad is working beautifully with this setup.
Iām just going to bump this again because I just had to manually modify another wpad.dat because hostname was causing problems. Setting it to the IP of the first green zone instead would be a wonderful solution.