mirror of
https://github.com/evilsocket/opensnitch.git
synced 2025-03-06 09:30:58 +01:00
1.3 KiB
1.3 KiB
Starting from version 1.4.0rc1, you can block or allow lists of domains.
It can be used to block ads, or limit to what domains an application connects to.
How to configure it:
-
Create a new rule:
000-block-domains
-
Check [x] Priority, Duration: always, [x] To this list of domains
-
Download list of domains of ads to block (choose any directory you wish):
$ mkdir /media/ads-list/
$ wget https://www.github.developerdan.com/hosts/lists/ads-and-tracking-extended.txt -O /media/ads-list/ads-and-tracking-extended.txt
- Visit any website, and filter by the name of the rule
000-block-domains
. You can useblock-test.developerdan.com
which is included in the above list.
The format of the files must be in hosts format:
0.0.0.0 www.domain.com
127.0.0.1 www.domain.com
Lines started with # are ignored.
Some lists of ads, tracking, malware, etc you can use:
https://www.github.developerdan.com/hosts/