How can I block all computers on our network from accessing Facebook?

LessonsLearned
LessonsLearned used Ask the Experts™
on
My boss wants me to block all users from accessing Facebook.  I am running a Windows 2008-R2 Standard Server which also is running DNS Server.

I want to block Facebook regardless of which browser is used to get to that site.  

The client computers are a combination of Windows XP, Windows Vista, Windows 7 and Windows 8.

I have read various articles on experts-exchange on how Facebook can be blocked, but the one option (that is the cheapest) suggests using a DNS Server entry of "127.0.0.1 www.facebook.com".  This seems to be the easiest solution, but I don't know how to implement it.

Your help is greatly appreciated.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
That method can easily be bypassed by specifying their own DNS server, such as one of google's (e.g. 8.8.8.8). It would be better to block it at your firewall appliance.

What do you have... PIX?  SonicWall? SMB?
Imal UpalakshithaIT System Administrator

Commented:
if you are in a smal enviornment you can do this at router level. Most of routers have this option & works great

Author

Commented:
I have a Motorola 3347-02 (Netopia 3000) wireless router.
How to Generate Services Revenue the Easiest Way

This Tuesday! Learn key insights about modern cyber protection services & gain practical strategies to skyrocket business:

- What it takes to build a cloud service portfolio
- How to determine which services will help your unique business grow
- Various use-cases and examples

Imal UpalakshithaIT System Administrator
Commented:
you can do this with this router model. it has capability of adding up to 255 rules.
add a deny rule with *.facebook
It has the capability, but it also depends on the firmware installed by the ISP that issued the modem/router. Some of the versions of the 3347-02 I've found manuals for allow blocking only by IP address, not by domain name.

Commented:
Usually you would have the ISP's modem/router then your firewall and then the office network. In this scenario the block would be placed at the firewall level, very easy and fast procedure. If the scenario does not include the firewall then the block would be placed at the ISP's modem/router level.
amatson78Sr. Security Engineer

Commented:
Install a free proxy/content filter like dans guardian with squid or an all in one opensource firewall like ipfire which has a built in proxy and content filter which if no cost.

Cheers, Alan
Dan's Guardian is not free for commercial use
http://dansguardian.org/?page=pricing

Squid does not have binaries for Server 2008.
http://squid.acmeconsulting.it/

I'm still downloading IPFire, but it appears to require a dedicated computer with all traffic ran through it in both direction, not unlike a firewall appliance. And during the install it formats the hard drive to install itself as the operating system.

Author

Commented:
The software/firmware of the modem is 7.8.1R2
to: upalakshitha

you can do this with this router model. it has capability of adding up to 255 rules.
add a deny rule with *.facebook

I looked in all the router settings and I do not see where I add the "deny" rule.

Author

Commented:
Router manual is attached.
Netopia-3347W-Router-Manual.pdf

Author

Commented:
Here is a more detailed manual.  See pages 146 thru 165.  Especiall take a look at page 155 (blocking an IP address).
Netopia-3347-Router---Software-V.pdf
That appears to be an ATT-issued router, by the firmware version.
(see http://www.experts-exchange.com/Hardware/Misc/Q_27598531.html - the manual linked in that thread is for version 7.5 firmware, the same as the one you uploaded here, which is good since that motorola link is dead now.)

Did you try calling their customer support and asking how to setup the Filter Sets in System Configuration? Possibly they would do it for you via remote.

Otherwise, some facebook IP addresses I came up with from DNS are
173.252.100.16
and
31.13.66.23

Block those in and out, and if you see anyone still manage to connect to facebook, note the full URL and check the DNS of the full URL and add it as another rule in the filter. e.g. www.facebook.com might DNS to a different IP address than the en-gb.facebook.com 3rd level domain name.

Author

Commented:
I will replace this "old" Motorola Netopia 3347W router with a new D-Link ADSL2+ router which will enable me to block facebook by ip address or domain name.

Thanks for showing me where to look (in filter sets).

Author

Commented:
I could not find "filter sets" in my "old" Motorola router, so I will replace the router with a new D-Link ADSL2+ router.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial