Edit file /etc/blocky/blocky.yml
according to upstream documentation. Then start & enable blocky.service
.
For example, this is how my /etc/blocky/blocky.yml
file looks like:
upstream:
externalResolvers:
- https://security.cloudflare-dns.com/dns-query
blocking:
# definition of blacklist groups. Can be external link (http/https) or local file
blackLists:
blocklists:
- http://sysctl.org/cameleon/hosts
- https://dbl.oisd.nl/
- https://mirror1.malwaredomains.com/files/justdomains
- https://raw.githubusercontent.com/crazy-max/WindowsSpyBlocker/master/data/hosts/spy.txt
- https://raw.githubusercontent.com/erkexzcx/disconnectme-pihole/master/services_Advertising.txt
- https://raw.githubusercontent.com/erkexzcx/disconnectme-pihole/master/services_Analytics.txt
- https://raw.githubusercontent.com/erkexzcx/disconnectme-pihole/master/services_Cryptomining.txt
- https://raw.githubusercontent.com/erkexzcx/disconnectme-pihole/master/services_FingerprintingInvasive.txt
- https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt
- https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt
- https://zeustracker.abuse.ch/blocklist.php?download=domainblocklist
- https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
- http://sysctl.org/cameleon/hosts
clientGroupsBlock:
default:
- blocklists
blockType: zeroIp
refreshPeriod: 0
bootstrapDns: tcp:1.1.1.1
logLevel: error
Pinned Comments
erkexzcx commented on 2021-01-23 23:23
Edit file
/etc/blocky/blocky.yml
according to upstream documentation. Then start & enableblocky.service
.For example, this is how my
/etc/blocky/blocky.yml
file looks like: