Japanatron Logo

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

Combine Image File and Audio F...

I wanted to figure out a way to quickly and easily combine an image file (jpg) and audio file (mp3) into a video file (mov) using the free media converter tool ...

How to Look at Internet Porn

In the course of my IT career, I can't tell you how many times some guy has brought a computer to me saying, "I dunno what happened.  It seems to have a ...

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...

How to Disable Annoying Citrix...

PROBLEMYou install the Citrix Receiver, and you get this annoying setup window each time you start your PC.  You never really configure the client because you o...