|
@@ -15,11 +15,12 @@ verbose "Installing Fail2ban"
|
|
|
apt-get install -y fail2ban
|
|
|
|
|
|
#move the filters
|
|
|
+cp fail2ban/freeswitch.conf /etc/fail2ban/filter.d/freeswitch.conf
|
|
|
+cp fail2ban/freeswitch-acl.conf /etc/fail2ban/filter.d/freeswitch-acl.conf
|
|
|
cp fail2ban/sip-auth-failure.conf /etc/fail2ban/filter.d/sip-auth-failure.conf
|
|
|
cp fail2ban/sip-auth-challenge.conf /etc/fail2ban/filter.d/sip-auth-challenge.conf
|
|
|
cp fail2ban/auth-challenge-ip.conf /etc/fail2ban/filter.d/auth-challenge-ip.conf
|
|
|
cp fail2ban/freeswitch-ip.conf /etc/fail2ban/filter.d/freeswitch-ip.conf
|
|
|
-cp fail2ban/freeswitch.conf /etc/fail2ban/filter.d/freeswitch.conf
|
|
|
cp fail2ban/fusionpbx.conf /etc/fail2ban/filter.d/fusionpbx.conf
|
|
|
cp fail2ban/fusionpbx-mac.conf /etc/fail2ban/filter.d/fusionpbx-mac.conf
|
|
|
cp fail2ban/fusionpbx-404.conf /etc/fail2ban/filter.d/fusionpbx-404.conf
|