Block Gmail Webchat !!

Hi all 🙂
Today we are going to block Gmail’s webchat from the Linux Machine.

Now the trick here is that as soon as we login to the chat is enabled by connecting to one of the following servers.


Now the trick is in the hosts file we set the loopback address to this name.

To do that we first open the file /etc/hosts

#vim /etc/hosts

In that give the following entries.

And its done ..Now the gmail webchat will be blocked.

In the same way you can block the gmail chat using IM’s for that just add the following line in the above file.

Remember that this is the simplest method to block. There are more advanced methods using IPTables and Squid proxy which will be discussed later.