TIP! Easy Way to Prevent Facebook Tracking

1 min read

Deviation Actions

heminder's avatar
By
Published:
16.8K Views
Facebook surveils everyone's web browsing regardless of whether they have an account or not, as described in this paper: ssrn.com/abstract=1717563

A simple way to prevent any packets being sent to or received from Facebook from your hardware is to set up filtering using iptables, a kernel-level firewall. On most GNU and Linux distributions, you can run the following three commands as root:

iptables -A INPUT -d facebook.com -j DROP
iptables -A OUTPUT -d facebook.com -j DROP
iptables -A FORWARD -d facebook.com -j DROP

The URL can be changed for other sites as well if you wish. Eg - for Twitter's "tweet" buttons run the same commands but using platform.twitter.com as the domain to reject. I also recommend adding Facebook's content delivery network: fbcdn.net to the blacklist.

For more documentation on iptables, I recommend the Arch Wiki - wiki.archlinux.org/index.php/I…
© 2012 - 2024 heminder
Comments4
Join the community to add your comment. Already a deviant? Log In
DevilishDB's avatar
or you could get DoNotTrackMe (a tracking blocker for EVERYTHING, easy to use and control)