Skip to content
Snippets Groups Projects
Commit 2c328dc4 authored by virus2500's avatar virus2500
Browse files

updated Readme

parent 7db94d07
No related branches found
No related tags found
No related merge requests found
......@@ -6,10 +6,28 @@ Create an ipset based blocklist from an text file (downloaded from e.g. blocklis
V1.0.2: Added a whitelist and blacklist
!!! IMPORTANT !!!!
You will need to install ipset!
Then open the blocklist.pl with your favorite text Editor and specify where your binarys are located.
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";
to e.g.
my $whiteList = "/scripts/blocklist/whitelist.txt";
my $blackList = "/scripts/blocklist/blacklist.txt"
where /scripts/blocklist/ is the path to the white and blacklist file!
While in blocklist.pl please also specify and verify where your binarys are located.
(These can be found via "which" e.g. "which iptables")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment