Tyleo-Scripts/irp-f2b

13 lines
442 B
Text
Raw Normal View History

2024-02-18 18:06:30 +00:00
clear
curl static.tyleodev.fr/astra/scr_banner
echo APT CACHE UPDATING...
sudo apt update &>/dev/null
echo APT CACHE UPDATED
sudo apt install -y fail2ban figlet
figlet Fail2Ban by Tyleo
sudo cp /etc/fail2ban/jail.conf /etc/fail2ban/jail.local
sudo service fail2ban restart
echo "By Default, attacks will be blocked by ports, then after 10 attacks, the IP will be banned and the port will be closed (by connect)"
echo
echo "Tyleo-SH (C) 2022"