On Fri, Oct 7, 2011 at 7:44 AM, Arun SAG <[email protected]> wrote: > On Fri, Oct 7, 2011 at 7:03 AM, Mohan Sundaram <[email protected]> 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.
That is why I've asked OP to redirect DNS requests to the local gateway. -- Mohan Sundaram _______________________________________________ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
