Linux : How to fully block adsense adds on your system

The method uses IPtables to accomplish this

add the following lines to /etc/rc.local

iptables -F
iptables -A INPUT -s googleads.g.doubleclick.net -j DROP
iptables -A INPUT -s pagead2.googlesyndication.com -j DROP
iptables -A INPUT -s ads.google.com -j DROP
exit 0

Thanks : Tux

Possibly Related Posts:


Leave a Reply

  

  

  

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>