diff options
author | Daniel Hansson <daniel@techandme.se> | 2017-06-16 03:19:32 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-16 03:19:32 +0300 |
commit | 592c394c46e3984fd92d6eaa02b841b53f734d8a (patch) | |
tree | 541a387d27de4fdc6cf8f85b21c99d052635f7ad /apps | |
parent | d10ae94089b80ae7ddc8c561100009ff9ff985ab (diff) |
add some information
Diffstat (limited to 'apps')
-rw-r--r-- | apps/fail2ban.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/fail2ban.sh b/apps/fail2ban.sh index 67338c78..05563bed 100644 --- a/apps/fail2ban.sh +++ b/apps/fail2ban.sh @@ -31,6 +31,8 @@ FINDTIME_=1800 #bad attempts before banning an IP MAXRETRY_=10 +echo "Installing Fail2ban..." + apt update -q4 & spinner_loading check_command apt install fail2ban -y check_command update-rc.d fail2ban disable @@ -117,6 +119,7 @@ check_command update-rc.d fail2ban enable check_command service fail2ban restart # The End +echo echo "Fail2ban is now sucessfully installed." echo "Please use 'fail2ban-client set nextcloud unbanip <Banned IP>' to unban certain IPs" echo "You can also use 'iptables -L -n' to check which IPs that are banned" |