I want to set up a proxy server for a school to prevent users to log-in to site like Facebook, Youtube, etc.

I have no idea how to do this, so I´d really appreciate your help.

  • 1
    Google for "phpproxy", and then never ask anything like this on security.se again. I am voting to close this question. – rook Jun 20 '12 at 0:01
  • @ION Are you asking how to set up a proxy in order to block Facebook, or do you want to get past a block on Facebook at school? – schroeder Jun 20 '12 at 15:13
  • @schroeder Yeah, i just want the proxy for block pages like that. – ION Jun 21 '12 at 7:36
  • @Rook excuse the inconvenience. – ION Jun 21 '12 at 7:39

It may be easier for you all to use a DNS service such as OpenDNS where you can block based on hostnames and/or web categories. This will be a lot easier to setup and maintain if you are not very familiar with IT. Here is the direct link to their web content filtering - https://www.opendns.com/web-filtering

  • +1 This is the right answer for 'rookies' who want to set up a proxy to block certain types of sites. I have clients who use this service. – schroeder Jun 20 '12 at 15:14
  • tyvm guys.. i´ll be working on it =) – ION Jun 21 '12 at 7:40

You'll probably want to look into a proxy like Squid which can do what you're describing with relatively little set up.

Squid is well documented and heavily used, so it would be a good solution for anybody in either a development phase or in a production environment.


I would suggest using something like untangle It will give you what you are looking for, and there are a bunch of bolt on features that you can use in addition to web content filtering (which is one of the things you are trying to do).

Not the answer you're looking for? Browse other questions tagged or ask your own question.