Block Facebook Chat on Your Network

I don’t have a lot of time to post right now, but I just wanted to leave this note.  Now that Facebook has completely rolled out their Facebook chat integration, I had to block it at work (The only chat allowed is our internal XMPP server.) Blocking the feature is as simple as blacklisting a single URL, drumroll….

Done, now users will see how many friends are online, but if they go to send anyone a message, it will never go through, and chat history does not show up.  I am sure you can block more extensively, but for a quick and dirty fix, this does the trick.  Love being an administrator…

About these ads

64 thoughts on “Block Facebook Chat on Your Network

  1. Thanks alot, noticed quite a few of our clients using this when they shouldnt (Ive banned chat) so this will do the trick.

  2. @Arckane: It does not mention it in the source however if you run a TCP Dump you will see HTTP POST to that address. If you want to tighten it up even more you can block which will (obviously) block all images related to the chat interface. We could block certain javascript libraries/classes but that would break other things as well.

    On another note, users will be able to receive messages, but not send using this block.

  3. tried all these in my router and they didn’t block anything. it all worked fine. should i be adding them somewhere other than my blocked keywords list?

  4. I’ve tried this in hosts file and on Linksys router exceptions list.
    These blocks do not work for me, what am I doing wrong?

  5. I don’t think your clients will be very happy either. They may not want to be your clients anymore! Ah, I get it, you’re just losers! Ok.

  6. @Jane
    You don’t know what you are talking about. We are in a SCHOOL, the students are not supposed to chat during class. It is normal to block chat.
    Internet acces is a privilege, not a right.

  7. Hey,

    To block facebook chat but still being able to use the facebook website you need to block the following URL masks


    This will disable chat effectively. You will only see yellow icon saying you can not connect to facebook chat. You will also not receive any new chat message received notifications.

  8. This is an old topic; but I think it still has relevance.

    I /think/ I have the answer. At least for now (everything on Facebook seems to be in a state of constant flux).

    It looks to me that Chat is using a bunch of IP address ranging from ( through (

    By blocking a few of these IP addresses, chat becomes annoying and sometimes works and sometimes doesn’t. By blocking the entire range, it appears to stop chat dead in its’ tracks. I haven’t found any other side effects of blocking this range, yet, but I can’t be certain.

  9. Does anybody have information on how to block Myspace’s webchat as well? the IM client they offer is easy, it’s their built in webchat I can’t seem to figure out without killing access to the whole site, which pisses off my 15 year old to no end. :)

  10. How would you suggest to block the applications? We would like to stop staff from playing “Mafia Wars” and “Farmville” apps, but continue to allow them to interact with each other and groups.

  11. I’m using firefox and adblock plus…
    just done like what you’d said, and it’s work like a charm … thank you

  12. —–> Shawn
    in network blocked just type “” this will block all the application in the facebook….

    —-> thanks to all posts… i’vei learned a lot… Good Bless to all…. =)

  13. hi,
    i blocked the apps blocking “”,
    but i couldn’t block the chat by blocking this “”


    • That doesn’t work. The chat transaction is still there. You want to stop the TCP stream before it gets into the network.

  14. Thankyou every soo much. As a parent of two internet addicted teenagers this has proven to be nothing short of brilliant for our family life. The kids addiction has weakened considerably, with some outbursts, some weeks later, I’m now coming homw to a clean house with interactive kids. Again, thankyou all.

  15. Have ou tried to override the DNS entries for

    Try editting the hosts file or modifying your DNS configuration.

    please excuse my english, an I recommend you to use PFSENSE

  16. so has anyone figured out how to block just the Facebook chat app either through a home wireless network router or in THe ipod touch itself ? if I can do it in THe ipod that’s fine but even on the home network wired and,wireless blocking of access to the app would be nice. if anyone knows a for sure way post a reply or send me a message through the service , thanks

  17. With the new updates to facebook I’m finding that OPEN DNS doesn’t even recognize most of the options already listed. Does anyone have any updates to blocking the facebook chat feature without blocking all of facebook?

  18. Hey bro, but would it block the facebook messenger for windows?, I mean, there is an app like windows messenger that you install on your PC. I have a small business and my people is using this messenger all time time, is madness …

  19. Hi Jared ;-)

    I managed to get this working on a linksys e3000.

    Create “block chat” rule 1, Select enabled, allow, and under keyword put in


    Apply to all ips.

    Now create rule 2 – allow all. Enable this, no other changes, its a default allow. I find if you do not use this the default becomes a deny.

    Now fb chat will exclamation mark. Obv if you support ajax you might have to use the fb ajax urls or don’t include your ip.

  20. Thanks for one’s marvelous posting! I quite enjoyed reading it, you could be a great author. I will be sure to bookmark your blog and definitely will come back from now on. I want to encourage you to definitely continue your great work, have a nice holiday weekend!

  21. Hi, when i click on upper link, it doesn’t work. Can you refresh that link or do something to make it working again please?

  22. Online Bodybuilding Forum – Professional Anabolic Steroid Cycles Advice
    – Hardcore bodybuilder, creator of 2 steroids top selling publications, steroids and bodybuilding journal publisher.
    Ever since the days of the Charles Atlas ads featuring the skinny boy
    who is getting sand kicked in his face, millions of young boys
    everywhere wanted to take up body building to try to achieve a body that would be both feared and marveled.
    He’s a man that knows muscle and has some great advice on how to build a body to be reckoned with.

  23. Whenever you can observe a processed film or crusty deposits stuck in order to your
    teas pot or perhaps your very own coffee maker you will hope to repeat the procedure a few times to ensure that all
    these deposits are thoroughly away. To get more than 41 many years, we
    now have been focused on bringing exceptional coffee and espresso drinks in order to our very own customers, states Howard Schultz, Starbucks chairman, leader and also CEO, in the hit release.

  24. The new generation hair straightener from CHI has been fitted with a
    comprehensive safety feature to prevent you from accidentally leaving your straighteners on when unattended while the Ceramic Technology work together to reduce stress to the hair and enhance hair’s vitality resulting in a healthy straightening experience making your hair feel smooth, silky, soft and beautifully manageable. Chemical hair relaxers are hair straightener products that use lye, sodium, or other hydroxide chemical substances to break hair bonds and ‘loosen’ or ‘remove’ the curl from hair. Not to fret though, because as you read along you will find out a lot of great tips that will eventually bring you to the type of hair straightener that is totally right for you.

  25. I seldom leave comments, however i did some searching and
    wound up here Block Facebook Chat on Your Network | jared.brodsky.
    And I do have a few questions for you if you do not mind.
    Could it be simply me or does it seem like some of the responses appear like they are coming
    from brain dead people? :-P And, if you are posting on additional
    social sites, I would like to keep up with everything
    fresh you have to post. Would you list of all of all your social pages like your linkedin profile, Facebook page or
    twitter feed?

  26. Yesterday, while I was at work, my cousin stole my apple ipad and
    tested to see if it can survive a 40 foot drop, just so she can be a youtube sensation.

    My apple ipad is now broken and she has 83 views.
    I know this is completely off topic but I had to share it
    with someone!

  27. What i don’t understood is in fact how you’re not really
    a lot more smartly-favored than you might be
    now. You’re very intelligent. You understand thus significantly in
    relation to this topic, produced me in my view imagine it from a lot of numerous angles.

    Its like men and women don’t seem to be fascinated
    until it’s something to do with Lady gaga! Your own stuffs great.
    Always care for it up!

  28. Thanks , I’ve just been searching for information approximately this subject for a
    while and yours is the greatest I have found out so far. However, what in
    regards to the bottom line? Are you positive concerning the source?

  29. It is the unbelievably thick middle and upper layer of completely redfundant management that are the problem.
    Heidi Howard, The Courts & Medsia Coverage, Lect – Law.

    It is during this time that you get to hear the charges against you, enter a
    response and get a clear idea about the bail amount.

  30. Getting an immune boost everyday will make sure that you stay healthy
    while working towards your ftness goals. ” And then try to catch up with you trying get your number. I’m a big fan of dramedy, and Jenji’s known for dealing with seriousness and adding elements of comedy to it.

  31. - Skype Resolver is Program tool designed to Identify the IP address of
    any user on Skype , Have you ever had your money stolen byy
    a scammer ?
    – Skype Resolver Have ever been hreatened on Skype?

    If so then you can probably think of a time where it would have been great to have that MO-FO’s IP address
    Go to Skype. Right click on the nwme oof thhe person You wish to Skype
    resolver. Click on their Profile
    Right click their Profile Name. Click on Copy (this copies to clipboard).
    Then Paste their Account Name into the Skype Resolver .

  32. The entire program, which comes on 20 plus DVD’s and a book is organized in a manner that lays out
    every lesson out in detail and gives you an expected time frame to complete it.
    The Advantages of Online Courses – There are several advantages of online courses.
    Topics covered normally range from genres to getting started, plots and themes, characters
    and styles, controlling the length, and planning stories etc.

  33. A live chat free for sites, as you may know already, presents websites with incredible utility, permitting site end users to engage
    in real-time. What they are are a temporary gateway to the Utopia
    of Xbox Live that allow you all the privileges of gold membership without having to pay an extra penny out of pocket.
    Properly, news is there’s a likelihood Microsoft is about to release Xbox 720 – at least we can see that it is what likely to become the name Microsoft’s subsequent generation gaming console will come up with.

  34. For tes of you which an be looking for a gret binary choices broker you sould
    definitely take a look at our binary coices rokers part the place
    we record solely the very best brokers together wth the latest and exclusiv promotions.
    There are variants of getting profit from indicating whether or not the
    price of your chosen asset will remain in a certain corridor, whether ot not it will touch the past indicated level, etc.
    The calculator also gives tradersan option to check the data that involves different
    aspects of trading, so that they can closely relate to the type of binary trading they personally like to do.

  35. Those companies previously only too willing to
    shower us with offers, enticing us to take out credit,
    apply for credit cards, loans and other finance packages
    have become increasingly twitchy and far more reserved. After 4 to 5 months of reporting “bam”
    you have credit scores. Mitt Romney left them holding the bag, and he was no longer willing to foot the bill.

  36. Search engines will also look at overall site activity as
    well as all relevant links. You can go in for using the
    most popular social sites such as Google+ or
    Facebook. Ideally, an SEO company includes a web designer that
    can help make changes to your website to improve SEO once the company
    has analyzed the website’s current SEO.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s