Files
iptables-rugov-block/README.md
2024-04-02 01:14:48 +02:00

736 B

Keep your webserver clean from RKN bots using iptables.

This project uses blacklists from https://github.com/C24Be/AS_Network_List/blob/main/blacklists/blacklist.txt

Pay attention! This script was tested on Ubuntu 22.04, there could be any issues on other versions or Linuxes!

You can find all the original instructions from the author of this solution here: original_instruction.pdf

How to use

Clone this repo to your server and run sudo ./install.sh

What it does

  • adds rsyslogd rules in /etc/rsyslog.d/51-iptables-rugov.conf
  • makes directory /var/log/rugov_blacklist/
  • puts there all necessary files
  • runs the update process
  • installs cron script to /etc/cron.daily/rugov_updater.sh