List of IP's Scanning All Ports on Your Server
This repository contains a list of bad IPs that are scanning all ports on your server.
ips are captured on a honeypot
its includes all ip ranges for china(v4-v6) and russia(v4)
Usage:
Clone the repository:
git clone https://github.com/rony432/bad-ip-scanners
Open the crontab configuration:
crontab -e
Add the following line at the end of the crontab file to schedule the bad IP updater script to run daily at 2:00 AM:
0 2 * * * /your-path/bad-ip-scanners/bad-ip-updater.sh
you must have ufw installed
sudo apt install ufw # For Debian/Ubuntu
sudo yum install ufw # For CentOS/RHEL
allow ports (example)
sudo ufw allow 8000/tcp
sudo ufw allow 8000/udf
enable ufw
sudo ufw enable