My company's firewall enforces NTLMv2 proxy authentication, which kinda sucks for some Linux hosts since I can't pass that authentication directly on the command line. Maybe I'm dumb, but every command format I found didn't work. But this did work...
1. Install CNTLM package: apt-get install cntlm
2. Configure username/password in /etc/cntlm.conf.
3. Restart cntlm service: /etc/init.d/cntlm restart
4. Try this format: http_proxy='http://127.0.0.1:3128/' apt-get update
CNTLM does the authentication for you, so you can relax and think about more important things.
NOTES
* Enable remote hosts in cntlm.conf to allow other hosts to use this child proxy.
Related Articles
Virtual PfSense on KVM - VirtI...
Virtualization of pfSense on KVM went smoothly for the most part. PCI pass-through to a network card worked swimmingly, and I adore the new built-in virtio dri...
Zimbra - Add Trusted Relay to ...
My domain name registrar offers email aliases and forwarding; however, this feature causes my mail server's SPF checks to fail because the registrar's mail rela...
The Hunt for the Ultimate VPS ...
If IT geek-dom were a crime, I'd be on death row by now. Fortunately, it is not; so I continue my dorky IT pursuits--the latest of which is finding a VPS cloud...
Hardware Graphics Acceleration...
ISSUEMS applications like Outlook sometimes show garbled video when scrolling through emails, etc. Internet Explorer may garble the video when working in Citri...