mac cntlm错误 - 代理配置文件无效

时间:2016-03-04 16:41:47

标签: macos proxy

当我运行以下命令时

cntlm -v 

我收到以下错误。

Mar  2 11:25:21  cntlm[39244] <Error>: Could not open default config file
Mar  2 11:25:21  cntlm[39244] <Error>: Parent proxy address missing.
Exitting with error. Check daemon logs or run with -v.

当我尝试使用以下命令时

cntlm -v /usr/etc/cntlm.conf

获得以下错误

Mar  2 11:25:35  cntlm[39246] <Error>: Invalid proxy specification /usr/etc/cntlm.conf.
Exitting with error. Check daemon logs or run with -v.

任何人都可以给我建议解决这个问题

我在mac os上运行cntlm - 10.11.3

2 个答案:

答案 0 :(得分:1)

请检查您是否在cntml.ini文件中正确设置了代理设置。

我丢失端口,同时指定代理地址,如下所示:

192.168.78.78但它必须像

Proxy 192.23.232.23:port

答案 1 :(得分:0)

要指定配置文件,您需要使用-c

cntlm -v -c /usr/etc/cntlm.conf
相关问题