Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to connect an ISA proxy server with CNTLM. But syntax of ISA proxy looks different. I can't find a way to set proxy for apt. my CNTLM is listening on, and /etc/apt/apt.conf is like this:

Acquire::http::Proxy  "\username:pass@";

Which is the domain of ISA in my university. I'm getting 407 error. CNTLM says

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.  )
share|improve this question
up vote 5 down vote accepted

You put the username and password (in hashed form, preferably) in CNTLM's configuration file. Apt doesn't need to know your username and password.

Configuring cntlm can be a little finicky, you need to play around with "Auth" flags, until it works reliably. Here's a howto I wrote for users at my university.

share|improve this answer
Does not work for me – loscuropresagio Apr 11 '14 at 8:03

You have to fill information in /etc/cntlm.conf.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.