如何在cntlm配置文件中填写代理信息? [英] How to fill in proxy information in cntlm config file?

查看:82
本文介绍了如何在cntlm配置文件中填写代理信息?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Cntlm 是一个 NTLM/NTLM 会话响应/NTLMv2 身份验证 HTTP 代理,旨在帮助您摆脱微软专有世界的链条.

Cntlm is an NTLM / NTLM Session Response / NTLMv2 authenticating HTTP proxy intended to help you break free from the chains of Microsoft proprietary world.

我的代理 URL 格式如下:

I have my proxy URL in the following format:

http://user:passwords@my_proxy_server.com:80

我必须将这些信息提供给 cntlm.它的配置文件cntlm.ini有如下结构和参数:

And I have to provide this information to cntlm. Its config file cntlm.ini has following structure and parameters:

Username 
Domain
Password    
Proxy   

我不太清楚,如何拆分我原来的代理属性来填充这四个选项?

I am not sure, how to break up my original proxy property to fill these four options?

推荐答案

cntlm.ini 中更新您的用户、域和代理信息,然后使用此命令测试您的代理(在您的 Cntlm安装文件夹):

Update your user, domain, and proxy information in cntlm.ini, then test your proxy with this command (run in your Cntlm installation folder):

cntlm -c cntlm.ini -I -M http://google.ro

它会询问您的密码,并希望打印您所需的身份验证信息,这些信息必须保存在您的cntlm.ini

It will ask for your password, and hopefully print your required authentication information, which must be saved in your cntlm.ini

示例cntlm.ini:

Username            user
Domain              domain

# provide actual value if autodetection fails
# Workstation         pc-name

Proxy               my_proxy_server.com:80
NoProxy             127.0.0.*, 192.168.*

Listen              127.0.0.1:54321
Listen              192.168.1.42:8080
Gateway             no

SOCKS5Proxy         5000
# provide socks auth info if you want it
# SOCKS5User          socks-user:socks-password

# printed authentication info from the previous step
Auth            NTLMv2
PassNTLMv2      98D6986BCFA9886E41698C1686B58A09

注意:在linux上配置文件是cntlm.conf

Note: on linux the config file is cntlm.conf

这篇关于如何在cntlm配置文件中填写代理信息?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆