My corporate environment is setup with a proxy blocking external internet access and requiring NTLM authentication. Internal addresses will not be routed be the proxy and must be accessed directly.
I am trying to setup a Linux machine in this environment (which is normally exclusively Windows) and have command-line tools that need external internet access. I have found NTLMaps which has worked great for authenticating to the proxy - however the problem now is when I set Linux's HTTP_PROXY environment variable, which many program use to determine the proxy, they always use the proxy server. Instead, I need them to use proxy/DIRECT connections based on the PAC file.
The very, very manual solution is to clear out the HTTP_PROXY environment variable when I want to access the intranet, and fill it in when I want to access the internet - but that's a pain.
Anyone know a way to do this? (Linux global .pac setting, etc...)