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
Joomla - YouTube Videos Too Bi...
PROBLEMAfter updating my Joomla Gavick template to the latest version, the embedded YouTube videos appeared massively large on desktop browsers. Mobile browser...
Zimbra - How to Stop Automatic...
By default Zimbra automatically discards inbound mail that receives a high spam score (aka "super spam"). Although the score is configurable up to 100, this de...
UnRAID - Creating and Mounting...
Here's how to create and mount an encrypted unassigned device in UnRAID. 1) Make sure the unassigned devices plugin is installed in UnRAID. :-) 2) Wipe the de...
Linux - Specify From Address W...
I struggled a bit with figuring out how to specify the from email address when sending mail on the Linux command line. In short, you need to use the -r option....