Re: [squid-users] ACL for one single IP

From: Hegedus, Ervin <airween@dont-contact.us>
Date: Tue, 29 Jul 2003 13:33:09 +0200

hi,

> How may I set up an ACL for one IP, on which ONLY some sites have to be
> viewed?
>
> I mean like:
>
> IP 192.168.0.125 has to be able to surf only www.cnn.com and
> www.linux.org ?!?

i think:

acl user_url url_regex www\.cnn\.com www\.linux\.org
acl user_src src 192.168.0.125
...

http_access allow user_src user_url
http_access deny user_src

be caryful, where do you put http_access lines - good choice to
put the front of other src/url http_acces lines.

bye:
airween
Received on Tue Jul 29 2003 - 05:33:13 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:18:19 MST