Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/vm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorDaniel Hansson <daniel@techandme.se>2017-06-16 03:19:32 +0300
committerGitHub <noreply@github.com>2017-06-16 03:19:32 +0300
commit592c394c46e3984fd92d6eaa02b841b53f734d8a (patch)
tree541a387d27de4fdc6cf8f85b21c99d052635f7ad /apps
parentd10ae94089b80ae7ddc8c561100009ff9ff985ab (diff)
add some information
Diffstat (limited to 'apps')
-rw-r--r--apps/fail2ban.sh3
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"