mirror of
https://github.com/freemedia-tech/iptables-rugov-block.git
synced 2026-01-25 04:16:37 +03:00
20 lines
736 B
Markdown
20 lines
736 B
Markdown
# 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](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
|