D
D
DiGiTAll2019-08-03 15:13:02
Squid
DiGiTAll, 2019-08-03 15:13:02

Simplest Squid configuration to "reset" authorization?

The essence of the problem. There is good software, but it does not support proxy with authorization.
There is a proxy:
proxyhost:proxyport
proxyuser:proxypass
I want to access the address http://localhost:3128, but so that everything goes "to the world" through proxyhost. Someone mentioned that this is solved at once through squid. So - squid is installed on my server (Ubuntu 18.04 LTS) I
wrote the following in the config:
http_port 127.0.0.1:3128
access_log /var/log/squid/access.log squid
cache_peer proxyhost parent proxyport0 \
no-query \
login=proxyuser:proxypass \
connect-fail-limit=99999999 \
proxy-only \
http_access allow all
But of course, nothing works. In the logs, lines like
TCP_DENIED/403 4164 GET lenta.ru - HIER_NONE/- text/html
TCP_DENIED/403 4079 CONNECT accounts.google.com:443 - HIER_NONE/- text/html

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
CityCat4, 2019-08-03
@CityCat4

Requires authorization with a username and password?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question