Search squid archive

How to write an acl that forces authentication only from specific networks?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On my internal network, no user authenication is currently used, so the acl
is like
acl our_networks src "/etc/squid/our_networks.list"
http_access allow our_networks
http_access allow localhost
http_access deny all

Now I'd like to force authentication only from one IP 10.90.195.47s and
tried:
auth_param basic program /usr/local/squid/libexec/basic_ncsa_auth
/etc/squid/passwd

acl password proxy_auth REQUIRED
acl client1 src 10.90.195.47/32

add addin the following before "http_access allow our_networks":
http_access allow password src client1
but that https_acces line is wrong it kill squid :-)

Is there a way of doing this?

Thanks in advance,
Sean


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux