H
H
Harbid Abu Marhamedoff2017-11-03 06:04:19
Squid
Harbid Abu Marhamedoff, 2017-11-03 06:04:19

How to configure Squid to allow password authorization only from certain ips?

How to configure Squid to allow password authorization only from certain ips? From another subnet to let them in without asking. Well, the rest of the ip is not allowed at all, as usual.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
CityCat4, 2017-11-03
@CityCat4

ACL write appropriate. For example:
acl goodip 192.168.1.0/24
acl badip 10.1.1.0/24
acl noaccess 10.1.2.0/24
acl all_acl proxy_auth REQUIRED
http_access allow goodip
http_access allow all_acl
http_access deny all

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question