• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 660
  • Last Modified:

Blocking web sites / web filtering with a Fedora server

We have a "spare" Fedora 10 box at work and I'm looking to block certain web sites such as https://www.facebook.com. What software can you reconmend that would run on Fedora and provide a solution to described issue?
0
nickedwards
Asked:
nickedwards
  • 3
  • 2
1 Solution
 
torimarCommented:
The most used solution for such a case would be Squid: http://www.squid-cache.org/

It is a full-fledged web proxy with access control, cache acceleration and much more. Not easy to set up, but highly powerful.
Here's how you use it for blocking: http://www.freesoftwaremagazine.com/articles/web_blocking_squid
0
 
torimarCommented:
Should Squid be too big an issue for the purpose you are after, another very easy way to just block a couple of sites would be to add them to the /etc/hosts file of your server and make them point to "127.0.0.1" or any other internal LAN address.
0
 
madunixChief Information Security Officer Commented:
1- you can install tinyproxy/squid  and dansguardian, then  add www.facebook.com to the block list
or
2- try edit /etc/hosts facebook.com    127.0.0.1 and www.facebook.com        127.0.0.1
0
 
torimarCommented:
madunix, you pretty much repeated what I had already said.
0
 
madunixChief Information Security Officer Commented:
sorry, i might have overlooked
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now