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

UnRAID - Backing Up Using Rsyn...

PRE-REQUISITES- Rsync plugin- User Scripts plugin (if you want to schedule the jobs)- Unassigned Devices pluginRSYNC TO UNASSIGNED BACKUP DRIVEI often configure...

Google is Skynet

Has anyone besides me noticed the uncanny resemblance between Google and "Skynet" from the Terminator movies? It's no secret that Google's ultimate goal is con...

Blackberry - How to Manually I...

Since Blackberry is essentially dead in Japan, I face a pesky challenge of getting Japanese text input to work on Blackberries I receive from our head office.  ...

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