Search squid archive

Re: Access Control (Need Help)

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

 



Seems reasonable.. nothing beats "just trying it out" tho... :)

   Kinkie

On Thu, Mar 27, 2008 at 8:14 AM, Kenny Lee <kenny.lee@xxxxxxxxx> wrote:
> hi all,
>
>  sorry ... typo error ... what i mean is on Friday 12pm to 2pm, i wan to
>  allow all users included (192.168.1.10) able to access to all website.
>
>  Regards,
>  Kenny
>
>
>
>  ----- Original Message -----
>  From: "Kenny Lee" <kenny.lee@xxxxxxxxx>
>  To: <squid-users@xxxxxxxxxxxxxxx>
>  Sent: Thursday, March 27, 2008 2:58 PM
>  Subject:  Access Control (Need Help)
>
>
>  > 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
>  >
>
>



-- 
 /kinkie

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

  Powered by Linux