Two Methods: ntlmaps or cntlmd. For usage instructions, see the respective documents.
1. In RHEL 4, you only need to export http_proxy = http: // localhost: 3128 or http: // localhost: 5865 in the environment variable.
2. In RHEL 5 or centos 5.5, you can access the Internet after export. However, if you perform the yum upgrade, various 403 errors will still be reported. At one time, I thought the ISA was getting too strict, almost ready to directly synchronize the upgrade server with rsync to the local device. Accidentally modified/etc/yum. conf and added
# Add for ISA
Proxy = http: // localhost: 3128/
# Proxy_username = ***
# Proxy_password = ***
It is easy to use because it is a local proxy and the password is useless )..
In fact, it was added at the beginning, but it may be because cntlmd is not available, so it cannot be done...
Remember, it took some days to make it sad ..
Supplement from 2011-11-26
Cntlm test using cntlm-I-m http://test.com times
Parent Proxy account username missing.
The main reason is that the configuration file cannot be found.
Cntlm-C/etc/cntlm. conf-I-m http://test.com
You can.