[squid-users] Re: blocking all but one site from a machine

From: Joost de Heer <[email protected]>
Date: Mon, 20 Feb 2006 14:36:31 +0100 (CET)

Dave wrote:
> Hello,
> I've got a unique situation. I've got squid acting as a transparent
> proxy. I want to block all outgoing http requests from a single machine
> with
> the exception of a single site, let that through. In other words if
> machine
> x goes to any other site other than the one i've designated they get an
> access denied msg. Is this doable?

- Please start a new thread for new questions, don't reply to an existing
thread, as it mucks up archiving.

- Use something like:
acl SOURCE src IPaddress-of-client
acl DEST dst IPaddress-of-destination
http_access allow SOURCE DEST
http_access deny SOURCE

Joost
Received on Mon Feb 20 2006 - 06:36:34 MST

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