How To Authenticate Socks 5 Proxies Inside PAC (Proxy Auto Config) Files

darkAsPitch picture darkAsPitch · Dec 7, 2009 · Viewed 9.2k times · Source

How can you setup PAC files to use SOCKS proxies with authentication?

Using this simple PAC file as an example:

function FindProxyForURL(url, host) { return "SOCKS 69.123.133.75:7257;"; }

How would you connect to that socks proxy using a username and password?

Answer

darkAsPitch picture darkAsPitch · Dec 31, 2009

Since firefox and msie do not support socks 5 authentication, it is impossible to specify the username and password in a PAC file without first modifying your browser of choice.