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

Playstation 3 Audio With a Com...

I gave myself a home project--upgrade / reorganize my home studio so that it is both more comfortable and more like a proper man-cave.  As a man-cave can...

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

My Review of the Skyroam Pocke...

I purchased a couple Skyroam pocket wifi devices for my office and have been trying out the service in the field, as well as lending them out to traveling end-u...

Joomla - How to Modify RSSocia...

RSSocial is an awesome free Joomla extension I use to display social media icons on my site.  Since it uses the Fontello Zocial font kit, I figured out how to m...