Re: [squid-users] src and dst difference

From: Alberto Omella Herrero <omella@dont-contact.us>
Date: Wed, 29 Aug 2001 18:10:45 -0400

"src" is used when you want to specify clients of your Squid server. For
instance, your local network:

acl my_net src 192.168.0.0/255.255.255.0
http_access allow my_net

In the other hand, "dst" is used when you want to specify (for any purpose)
a range of IP addresses (or just one IP) which are outside your network and
aren't gonna use your Squid server as proxy. For instance, if you want to
deny for anyone in your network the access to the IP range: 216.219.30.0,
you simply put this two lines in your squid.conf:

acl denied_net 216.219.30.0/255.255.255.0
http_access deny denied_net

Hope was useful.

__________________
Alberto Omella Herrero
omella@pla.net.py

----- Original Message -----
From: <plendon@microelectronics.com>
To: <squid-users@squid-cache.org>
Sent: Wednesday, 29 August, 2001 17:07
Subject: [squid-users] src and dst difference

> Hi all,
>
> I understand "src". I use src acl's to allow/deny ip addresses.
> ex. acl mis_net src xx.xx.xx.x/255.255.255.0
>
> I've read the faqs and any archive with "dst".
>
> Can someone please explain the differences of src and dst?
> When would I ever use or need dst?
> I'm not clear on dst.
>
> Thank you.
>
> -pat
Received on Wed Aug 29 2001 - 16:11:22 MDT

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