LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 05-14-2010, 12:02 AM   #1
kurt fazrt
LQ Newbie
 
Registered: May 2010
Posts: 1

Rep: Reputation: 0
Exclamation block facebook on linux server..


im new at office...and my boss ask me to block facebook domain at linux server..i have tried..but it wont work..
can anyone help..
 
Old 05-14-2010, 12:04 AM   #2
PankajRasuni
LQ Newbie
 
Registered: Nov 2009
Posts: 18

Rep: Reputation: 0
hi,


you can block it with the help of squid daemon

1. install your squid package
2. vi /etc/squid.conf
here make a acl


it will work, be sure your deny acl should be in pereference as with your allow acl.
 
Old 05-14-2010, 12:06 AM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
Welcome!!

You'll need to tell what exactly you tried---and what exactly happened.

This is not my area, but have you looked at iptables?
 
Old 05-15-2010, 02:12 AM   #4
linuxskola
LQ Newbie
 
Registered: May 2010
Location: Stockholm
Distribution: debian
Posts: 1

Rep: Reputation: 0
deny facebook.com domain and ip addresses

I guess you have to deny facebook.com domain and all their ip addresses to. In some cases kids can go around a denied domain if they write ip address instead of domain name in browsers URL field.
 
Old 05-15-2010, 08:52 AM   #5
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,566

Rep: Reputation: 2557Reputation: 2557Reputation: 2557Reputation: 2557Reputation: 2557Reputation: 2557Reputation: 2557Reputation: 2557Reputation: 2557Reputation: 2557Reputation: 2557
Quote:
Originally Posted by kurt fazrt View Post
im new at office...and my boss ask me to block facebook domain at linux server..i have tried..but it wont work..
can anyone help..
Maybe, if you provide some actual details. What version/distro of Linux are you using? What software? How many people, running what on their workstations? How are they connecting to the Internet now? Saying "i have tried...but it wont work", gives us nothing to go on.

I suggest loading Squid as a proxy server. It has many configuration examples, on how to block certain websites, and should be easy to set up.
 
Old 06-12-2010, 09:09 PM   #6
jag2000
Member
 
Registered: Sep 2003
Location: Ohio
Distribution: Ubuntu 12.04
Posts: 314
Blog Entries: 2

Rep: Reputation: 31
switch to opendns.
that is a surefire way to block FB
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to block facebook?.. Winanjaya Linux - Security 3 11-30-2009 09:04 AM
Linux and Facebook malware newbiesforever Linux - Security 2 10-04-2009 06:02 PM
My Facebook App (dedicated windows server) AddyM Linux - General 1 09-29-2009 09:08 AM
Configure Linux Server to block unsecured VNC connection tburgos@us.mufg.jp Linux - Security 4 06-24-2009 08:43 AM


All times are GMT -5. The time now is 07:08 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration