34
edits
Changes
→Blocking using hosts file
__TOC__
=== Browser extensions ======= Using ublock ====Install the extension ublock origin [https://addons.mozilla.org/en-US/firefox/addon/trackmenotublock-origin/] on your firefox installation.
3. Past this list[https://prism-breakgist.orggithub.com/ennipos/e572a37c1939bf5bcdf04a38ef229152] hosts to your ublock configuration.
=== Blocking using hosts file ===
You can edit your hosts file.
An axample of [[hosts]] file, it contains a whole list of all google, twitter, facebook, etc... domains
Doing this all listed domains will be redirected to that ip address. You can easily change the ip addresses whit your local host 127.0.0.1 or whatever you want :)
=== Blocking using a firewall ===
=== iptsetup.sh =Using OpenWRT / iptables == ==This is a script that would run on OpenWRT:
You would do, for example:
* root@OpenWrt:~# ./iptsetup.sh google.com gl 1
* That would create for you add_gl.sh and del_gl.sh in the current working directory.
* Then run ./add_gl.sh and all packets destined to google will be marked with MARK 1
#!/bin/sh
#
## setup iptsetup.sh domain.com name fwmark#
#
IP=`nslookup $1 | grep -E '[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}' | tail -n1 | cut -d\ -f3`
</pre>
== Other tools ==
=== Useful addons for a private, free & open source internet ===
Privacy badge [https://www.eff.org/privacybadger/] is a very easy friendly and powerful tool for blocking trackers and ads.
Ensure your browser only runs opensource/readable javascript code with librejs [https://addons.mozilla.org/en-US/firefox/addon/librejs/]
Made your browser click and load random ads to obfuscate monitoring and tracking with adnauseam [https://adnauseam.io/]
Trackmenot [https://addons.mozilla.org/en-US/firefox/addon/trackmenot/]
Decentraleyes [https://addons.mozilla.org/en-US/firefox/addon/decentraleyes/]
=== Prismbreak, a list of tools avoid massive surveillance ===
A list of tools, please check their descriptions inside...
https://prism-break.org/en/