Hi,
I can see that there is an option for Include /etc/csf/csf.alsoallow
Is there a similat "alsodeny" or "alsoblock"?
I would like to set up a facility to automatically update a list of blocked IP address (from Wizcrafts).
Perhaps I am going about this the wrong way. Does anybody have any suggestions for a better approach? What is the easiest, most-automated way to add block lists to iptables?
I look forward to hearing people's ideas.
Thanks,
alsoallow - is there an alsodeny
Re: alsoallow - is there an alsodeny
The easy way of doing this is to save the blocked IPs list in a txt file in your server, then add that file to CSF via "LFD BLOCKLISTS", adding a new line like as an example:
# My Blocked IPs
# IPs downloaded from http://www.wizcrafts.net
MYLIST|86400|0|http://www.YOUR-SERVER.com/myblockedips.txt
Replace YOUR-SERVER for the exact URL where you saved the list.
Sergio
# My Blocked IPs
# IPs downloaded from http://www.wizcrafts.net
MYLIST|86400|0|http://www.YOUR-SERVER.com/myblockedips.txt
Replace YOUR-SERVER for the exact URL where you saved the list.
Sergio