Answer the question
In order to leave comments, you need to log in
How to add a site to exclusions in squid3?
Good afternoon, there is a program called PPDGR, which, as written in the help, takes an update from the site. When I try to update, I get an error: The
proxy server is squid3. Please help me with the question of how to add a site that is listed in the help to exclusions or whitelist squid3. I went along the etc / squid3 path, but there are too many files and it's not very clear where to make changes, maybe there are gurus who are well aware of setting up this proxy server.
Answer the question
In order to leave comments, you need to log in
you have proxy authorization configured, this is visible to the error. This program does not know how to authorize, so it must be allowed past the squid authorization.
In squid.conf (on the example of mine)
find and comment out something similar to
acl auth_user proxy_auth REQUIRED
reload the squid config
squid -k reconfigure
check if everything still works. nothing should change for users. check whether the program has earned. if so, now you need to add acl for the program before acl with proxy authorization
# 1) узнать имя домена, куда прога ходит
acl SPRO1 dstdomain .SPRO1.tld
# 2) либо по ip, опятьже нужно узнать. в spro1_ip - указать адреса серваков, куда прога может ходить
# выбрать один из двух, два - избыточно
acl SPRO1_IP dst "/etc/squid/spro1_ip"
acl auth_user proxy_auth REQUIRED
...
# выбрать один из двух, два - избыточно
http_access allow SPRO1
http_access allow SPRO1_IP
...
# это последнее правило
http_access deny all
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question