Configuration of the Linux CNTLM agent

Source: Internet
Author: User

Under Linux need to configure proxy Internet, such as Yum, wget and so on. If you configure the agent under Windows directly, as follows:

Export http_proxy=http://<proxyip>:<port>

Use wget error, 407 Proxy need authentication, online search for a bit of something called ntlmaps, the results do not work. Then changed the CNTLM everything OK.

A proxy using Windows agent under Linux. Website: https://sourceforge.net/projects/cntlm/

Step 1:install
RPM-IVH cntlm-0.92.3-1.x86_64.rpm

Step 2:configuration
Refer to Cntlm.conf (/etc) as example.

Step 3:env
Change. BASHRC, or export http_proxy
Export http_proxy=http://127.0.0.1:3128

Step 4:verify

[Email protected] ~]# NETSTAT-NL |grep 3128
TCP 0 0 127.0.0.1:3128 0.0.0.0:* LISTEN

Wget-d-V www.baidu.com

Ok!

Configuration of the Linux CNTLM agent

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.