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
Windows - Turn Off Internet Ex...
Yes, I know it's a security feature, but it's very frustrating for my colleagues that constantly download PDFs via Internet Explorer, confirming each and every ...
Outlook - Restore Missing Cate...
PROBLEMYou open Outlook and find that your categories are missing.SOLUTION1) Drop to a command line.2) Run outlook.exe with the "remigratecategories" option.out...
Running Adobe Illustrator with...
Here's a quick one. I've been struggling with getting Adobe Illustrator (Creative Cloud) to run properly with user-level privileges. It would often freeze and...
Setting Up SPF on Zimbra Runni...
SPF is awesome for stopping delivery of spoofed spam and junk back-scatter, but many of the articles on how to set up SPF in Zimbra are old and out-of-date. It...