[squid-users] Access Control (Need Help)

From: Kenny Lee <kenny.lee@dont-contact.us>
Date: Thu, 27 Mar 2008 14:58:43 +0800

hi all,

i wan to allow a user(192.168.1.10) able to access to ONLY the website
"domain.com" at any time, but while on Friday 12pm to 2pm, i wan to allow
all users included (192.168.1.1) able to access to all website.

can i set it as below settings, and can it works?

squid.conf
========

acl ip_all src 192.168.1.0/24
acl ip_ctl src 192.168.1.10
acl website dstdomain .domain.com
acl day_ctl time F 12:00-14:00

http_access allow website ip_ctl
http_access allow day_ctl ip_all
http_access deny all
=========

Thank you

Regards,
Kenny
Received on Thu Mar 27 2008 - 01:07:22 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Apr 01 2008 - 13:00:05 MDT