apt install fail2ban
for the rest ask google
Then create filter.d minstra.conf
sudo nano /etc/fail2ban/filter.d/ministra.conf
and add
in file jail.local http server column you added
sudo nano /etc/fail2ban/jail.local
service fail2ban reload
port,maxretry,bantime as desired and your settings..
for the rest ask google
Then create filter.d minstra.conf
sudo nano /etc/fail2ban/filter.d/ministra.conf
and add
in file jail.local http server column you added
sudo nano /etc/fail2ban/jail.local
service fail2ban reload
port,maxretry,bantime as desired and your settings..
Last edited: