我正在尝试使用 CNTLM 连接 ISA 代理服务器。但是 ISA 代理的语法看起来不同。我找不到为 apt 设置代理的方法。我的 CNTLM 正在监听127.0.0.1:41040
,并且/etc/apt/apt.conf
是这样的:
Acquire::http::Proxy "http://urmia.ac.ir\username:pass@127.0.0.1:41040/";
Run Code Online (Sandbox Code Playgroud)
这urmia.ac.ir
是我大学的ISA域。我收到 407 错误。CNTLM 说
HEAD: HTTP/1.1 407 Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy filter is denied. )
Run Code Online (Sandbox Code Playgroud)