0) Download cntlm
./configure
make
sudo make install
1) Generate the password hash
cntlm -u username -d DOMAIN -H
2) paste the output into the config file, and add this:
Auth NTLM
3) Run:
cntlm
4) export http_proxy=http://localhost:3128
5) You can now access web pages
See also Charles proxy
A piggy bank of commands, fixes, succinct reviews, some mini articles and technical opinions from a (mostly) Perl developer.