[squid-users] Allowing access from one specific IP to ONLY one specific domain

From: wireless IT professional <wirelessit@dont-contact.us>
Date: Thu, 2 Feb 2006 10:39:11 -0400

Dear fellows,
One question about squid: is it possible to "tell" Squid to permit
access from one IP in my LAN to ONLY one specific domain? Any other
traffic from that particular IP directed to ANY other domains must be
denied. Also, the rest of IPs in the LAN must continue to have total
http access to any site.

I tried with:

acl blocked src 192.168.1.59/32
acl allowed dstdomain domain.com
http_access allow blocked allowed
http_access deny blocked
acl our_networks src 192.168.1.0/24
http_access allow our_networks

but it did not work! With these acls the .59 IP gets completely blocked

Thanks in advance for any light you may shed upon.
Regards,
Fred
Received on Thu Feb 02 2006 - 07:39:14 MST

This archive was generated by hypermail pre-2.1.9 : Wed Mar 01 2006 - 12:00:03 MST