Sunday, April 28, 2024
 Popular · Latest · Hot · Upcoming
5
rated 0 times [  5] [ 0]  / answers: 1 / hits: 5785  / 2 Years ago, mon, march 14, 2022, 1:11:00

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 127.0.0.1:41040, and /etc/apt/apt.conf is like this:



Acquire::http::Proxy  "http://urmia.ac.irusername:[email protected]:41040/";


Which urmia.ac.ir 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.  )

More From » apt

 Answers
6

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.


[#39940] Wednesday, March 16, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
exceeeelh

Total Points: 21
Total Questions: 109
Total Answers: 120

Location: Marshall Islands
Member since Wed, Jan 5, 2022
2 Years ago
exceeeelh questions
Sun, Nov 20, 22, 17:08, 1 Year ago
Sat, Jan 1, 22, 08:04, 2 Years ago
Wed, May 12, 21, 05:11, 3 Years ago
;