[KLUG Members] Squid and ntlm_auth
Adam Tauno Williams
awilliam at whitemice.org
Thu Sep 8 11:59:22 EDT 2005
>> From the examples in the documentation...
>> (2) To restrict access to work hours (9am - 5pm, Monday to Friday) from IP
>> 192.168.2/24
>> acl ip_acl src 192.168.2.0/24
>> acl time_acl time M T W H F 9:00-17:00
>> http_access allow ip_acl time_acl
>> http_access deny all
>> Just substitute your user matching rule in there.
> Perfectly clear and succinct. Exactly I don't know which rule I should use
> to achieve that.
proxy_auth
Here is a snippet from a squid.conf -
- ACLs -
acl officesupplyperson1 proxy_auth adam steve darrell trovato mcarmody britz
acl public_list url_regex "/etc/squid/sq_officesupply.text"
- Conects of sq_officesupply.text -
^http://www.officedepot.com
^http://www.bcop.com
^http://www.quill.com
^http://www.officemax.com
- Rules -
http_access allow officesupplysite1 officesupplyperson1
http_access allow officesupplysite2 officesupplyperson1
http_access allow officesupplysite3 officesupplyperson1
http_access allow officesupplysite4 officesupplyperson1
This isn't a current configuration, it looks like we have these stanzas in
early 2002 so if they don't work anymore.... We control everything now via
external ACLs and squid's LDAP helper.
--
Adam Tauno Williams - http://www.whitemice.org
More information about the Members
mailing list