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

Safeguarding Your Digital Life

This is an outline of a presentation I delivered called "Safeguarding Your Digital Life."  It summarizes best practices to follow for keeping your online identi...

Joomla 2.5 - Horizontal Footer...

For some reason Joomla 2.5 lost the ability to show nice horizontal menus in the footer; instead the items appear vertically.  I personally used this in Joomla ...

Getflix - Netflix Still Not Wo...

There was a recent issue where the Playstation 3 Netflix app stopped working with Getflix--a service I use to watch Netflix here in Japan.  Fortunately, Getflix...

Joomla - Checklist for Moving ...

* Remove web directory protection entries * Rsync files to the new location * Change Apache root folder settings * Redo web directory protection entries * U...