首先下载cntlm并安装:http://ftp.awk.cz/pub/cntlm-0.93beta5-1.i386.rpm


1。全局代理配置
编辑/etc/bashr  或 ~/.bashrc 加入如下代码
export http_proxy=127.0.0.1:3128
export https_proxy=127.0.0.1:3128
export ftp_proxy=127.0.0.1:3128 


2.修改cntlm 配置文件
打开cntlm配置文件 /etc/cntlm.conf
加入如下代码:
 Username 代理用户名
Domain  所属域
Password 代理密码  

#Workstation netbios_hostname # Should be auto-guessed
Proxy  代理ip:端口
Proxy  192.168.80.19:8080
#
# This is the port number where Cntlm will listen
#
Listen  3128     #这个地方不要忘了,与/etc/bashr  里的一致

 
3。启动cntlm   
/etc/init.d/cntlmd restart
4.chkconfig 默认启动
chkconfig --add cntlmd
chkconfig --level 345 cntlmd
5.浏览器添加代理
127.0.0.1:3128  #之前在/etc/bashr  设置的

相关文章:

  • 2021-11-23
  • 2021-12-10
  • 2021-12-27
  • 2021-05-25
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-06-05
  • 2022-12-23
  • 2021-05-21
  • 2022-02-07
  • 2021-08-21
  • 2022-12-23
相关资源
相似解决方案