Search squid archive

Re: acl dstdomains does not block!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Amos Jeffries skrev:

Um, the config you showed simplifies down to:

 allow localhost access anywhere.
 deny anything else. Period.

I think you want:

#
#     If we want to block certain sites.
#
#     acl blockedsites dstdomain .aftonbladet.se.
     acl blockedsites dstdomain .squid-cache.org
#     acl blockedsites dstdomain "/usr/local/etc/squid/dstdomain"
#
#     Show message when blocked
#     deny_info ERR_ACCESS_DENIED blocked_sites
#
     http_access deny blockedsites

# allow local network to other sites.

  http_access allow localhost
  http_access allow localnet

#
#     And deny all other access to this proxy
#
     http_access deny all


Amos

Thank you guys.

I'm now up and running thanks to your advise :-)

/Leslie



[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux