"Leandro J. Kohler" <[EMAIL PROTECTED]> writes:

> Hi all,
> 
> I am using a Mandrake MNF 8.2 with transparent proxy mode.
> With this kind of setup all connections from LAN on port 80 are
> automatically redirected to 3328 port and squid do its work.
> 
> My question is:
> How could I setup MNF to avoid some sites (some destinations URLs) using
> squid.  I mean, some particulars destinations should be reached directly to
> port 80 without proxy.
> Is it possible? Can be setup on web interface?
> 
> Thanks,
> 
> Leandro.

this cannot be done through the web interface but you can do it, with acls.
I'm inserting here below the squid.default file section, based on the 
squid-2.5.STABLE5-4mdk of my web site

here it is:

#  TAG: always_direct
# Usage: always_direct allow|deny [!]aclname ...
#
# Here you can use ACL elements to specify requests which should
# ALWAYS be forwarded directly to origin servers.  For example,
# to always directly forward requests for local servers use
# something like:
#
#   acl local-servers dstdomain my.domain.net
#   always_direct allow local-servers
#
# To always forward FTP requests directly, use
#
#   acl FTP proto FTP
#   always_direct allow FTP
#
# NOTE: There is a similar, but opposite option named
# 'never_direct'.  You need to be aware that "always_direct deny
# foo" is NOT the same thing as "never_direct allow foo".  You
# may need to use a deny rule to exclude a more-specific case of
# some other rule.  Example:
#
#   acl local-external dstdomain external.foo.net
#   acl local-servers dstdomain  .foo.net
#   always_direct deny local-external
#   always_direct allow local-servers
#
# This option replaces some v1.1 options such as local_domain
# and local_ip.
#
#Default:
# none

my 2cts,
-- 
Florin Grad                     http://www.mandrakesoft.com
                                http://people.mandrakesoft.com/~florin/

____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

Reply via email to