Skip to content
Snippets Groups Projects
README.md 999 B

blocklist-with-ipset

Use at your own risk :)

Create an ipset based blocklist from an text file (downloaded from e.g. blocklist.de)

Changes

V1.0.3: Now you can set multiple blocklist sources V1.0.2: Added a whitelist and blacklist

!!! IMPORTANT !!!!

You will need to install ipset!

If you want to run the script as an cronjob you will have to specify the absolute path to the whitelist.txt and blacklist.txt in blocklist.pl

my $whiteList = "whitelist.txt";

my $blackList = "blacklist.txt";