Open the URL: http://wpad/wpad.dat

All the information you need is in that WPAD file.

If you want to understand how it works, check out: