Re: [squid-users] Limit IP/URL into Squid

From: Tek Bahadur Limbu <teklimbu@dont-contact.us>
Date: Mon, 02 Jul 2007 22:37:04 +0545

Noc Phibee wrote:
> Hi
>
> it's possible to use Squid for limit the access at a url for a list of IP
> without use SquidGard.
>
> i want that ip 192.168.10.2 and 192.168.10.128 can se only one web site

Hi Noc Phibee,

You can use something like the following ACLs:

acl all src 0.0.0.0/0.0.0.0

acl restricted_clients src 192.168.10.2/32 192.168.10.128/32
acl good_sites dstdomain .cnn.com .bbcnews.com
http_access allow restricted_clients good_sites

http_access deny all

Hope it helps.

Thanking you...

>
> thanks for your help
>
>
>
>
Received on Mon Jul 02 2007 - 10:52:23 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Aug 01 2007 - 12:00:03 MDT