Re: Filtering all Destination Addresses out except One?

From: Markus Stumpf <maex-squid-users@dont-contact.us>
Date: Thu, 30 Jul 1998 21:49:48 +0200

On Thu, Jul 30, 1998 at 10:36:29AM -0700, Jeff Platt wrote:
> Is there an easy way of banning all Destination addresses except one?

Have a look at the ACL section in squid.conf.
How about:

acl DESTallow dst 142.36.14.60/255.255.255.255
acl DESTall dst 0.0.0.0/0.0.0.0

http_access allow DESTallow
http_access deny DESTall

This should work and allow only access TO ip 142.36.14.60
This doesn't change anything about who is allowed to connect to your squid.

        \Maex
Received on Thu Jul 30 1998 - 12:50:43 MDT

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