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

How to Spot an iPhone Unlock S...

While Apple technically calls it "iPhone IMEI database whitelisting," it's better known around the web as a factory unlock--a process that allows your iPhone to...

How to Clear Gmail iOS App Cac...

I was annoyed recently because my iPhone Gmail app didn't show the latest saved drafts, and I couldn't for the life of me figure out how to clear the app's cach...

UnRAID - Cloud Backup Using Rc...

PRE-REQUISITIES- Rclone plugin- User Scripts plugin (if you want to schedule the jobs)SETUP RCLONERclone is surprisingly easy to use, as it's very similar to Rs...

The Hunt for the Ultimate Blue...

I'm obsessed with bluetooth.  So much so that I've been hunting for heaven's own pair of bluetooth headphones for my Tokyo subway commutes.  I'm already on my 5...