cntlm configuration in RHEL/CentOS

1. Download cntlm-0.92.3-2.x86_64.rpm
sudo rpm –ivh cntlm-0.92.3-2.x86_64.rpm

2. Configuration
        a.     Generating NTID password encrypted key
cntlm -u NTID@DOMAIN –H
        b. It will generate PassNTLMv2 encrypted key
        c. Now open /etc/cntlm.conf and replace below details  
Username        USER_ID
Domain          domain_name
#Password       password
PassNTLMv2      enter encrypted key from above step
Proxy           proxy_hostname:8080
#Proxy          10.0.0.42:8080

3. Update wget and yum.conf as below
wget:
http_proxy=http://localhost:3128
ftp_proxy=http://localhost:3128
https_proxy=http://localhost:3128
yum.conf:
proxy=http://localhost:3128

Note: If you want to keep your password without encryption, no need to # password field above

4. Start cntlm process
service cntlm start
5. Adding to startup
chkconfig cntlm on
Previous
Next Post »