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
Nginx - Blocking Access to Joo...
I propose blocking all access to Joomla's administrator login page and front-end user login (if you don't use it) because I constantly see a-hole bots in my log...
The Hunt For the Ultimate Free...
My aged Netgear NAS was primed and ready for a relaxing retirement, so I pursued a befitting upgrade. I briefly considered an out-of-the-box NAS offering from ...
Joomla Running on Nginx and Ub...
What follows is an outline I compiled while researching how to tighten security on a Nginx web server. NOTE 1: Ubuntu 14.04 LTS was used for this. NOTE 2: This ...
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...