Re: [squid-users] How to implement max_user_ip to specific user?

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Wed, 30 May 2007 13:27:46 +0200

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

Received on Wed May 30 2007 - 05:27:52 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Jun 01 2007 - 12:00:05 MDT