13 lines
442 B
Text
13 lines
442 B
Text
|
|
||
|
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"
|