How To Block Website?

How to block website access using squid

  • I would like to block black listed URLs and Domains using the squid proxy server. In the tutorials, what is mostly shown how to block one URL/Domain, however I would like to have the URLs/Domains in a file and have one acl on the config file so that when it comes to updating the list, I just change the file instead of the config file how can i go about this

  • Answer:

    In addition to what otheres have suggested, Squid can be http://www.squid-cache.org/Doc/config/cache_peer/ to talk to other proxy servers either as parents or peers. You can use a filtering proxy alongside squid to block the sites that you want to block. You can search for examples of squid+privoxy or squid+dansguardian.

Gatura at Server Fault Visit the source

Was this solution helpful to you?

Other answers

As the list grows the performance drops off quite significantly in my experience. If you're beyond a few dozen entries I'd suggest you look at http://www.squidguard.org/ as an alternative way of blocking entries on that list.

Cry Havok

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.