Search squid archive

Re: How to implement max_user_ip to specific user?

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

 



ons 2007-05-30 klockan 16:34 +0700 skrev chowalit.lab Chowalit Lab
Linux:
> Hi all,
>      In my squid box. I have 2 groups of user to access specific
> permission. In first group , they can access only one IP address. In
> second group, they can access from two difference IP address. How to
> define acl and http_access to support my rule?


http_access deny group1 max_1_ip
http_access allow group1
http_access deny group2 max_2_ip
http_access allow group2

or alternatively if you don't need to be able to use deny_info

http_access allow group1 !max_1_ip
http_access allow group2 !max_2_ip

Regards
Henrik

Attachment: signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad meddelandedel


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

  Powered by Linux