[Ilugc] squid_block_gmail

  • From: sagarun@xxxxxxxxx (Arun SAG)
  • Date: Fri, 7 Oct 2011 07:44:06 +0530

On Fri, Oct 7, 2011 at 7:03 AM, Mohan Sundaram <mohan.tux at gmail.com> wrote:


Is your gateway the local dns resolver for your network? If not, you
can do that redirecting all dns requests going out to the gateway's
resolver itself using iptables. Then, in the etc/hosts file of the
gateway, you can resolve gmail to any address you want locally that
will serve out the error page saying "gmail not allowed" etc.


However people can easily bypass this using a public DNS service like google
DNS or Open DNS.


-- 
Arun S.A.G
http://zer0c00l.in/

Other related posts: