Debilitating NTLM proxy

It is interesting to note how a corporate NTLM proxy can cause untold misery.

The saviour in this case is cntlm but I had to set it up in the following ways.

Environment

admin@LINUX:~/graphite/graphite-web-0.9.9/webapp/graphite$ env | grep "proxy"
http_proxy=http://127.0.0.1:3129
ftp_proxy=http://127.0.0.1:3129
https_proxy=http://127.0.0.1:3129

~/.bashrc

export http_proxy=http://127.0.0.1:3129
export https_proxy=http://127.0.0.1:3129
export ftp_proxy=http://127.0.0.1:3129

After all this I had to set it up again for a ruby gem installation.

sudo gem install fpm --http-proxy=http://127.0.0.1:3129

Sometimes I had to watch the verbose output from cntlm to be sure that I am not
being fooled by a wrong setup.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: