UniFi Fail2Ban

Prevent people from brute forcing your UniFi Network Controller!
It will block people for 10 minutes after 4 failed login attempts within a time period of 15 minutes.

● UniFi Network Controller

UniFi Fail2Ban Script - Click here to download.


Instructions

Run the command below in your terminal to start the script.

rm -rf unifi-fail2ban.sh &> /dev/null; wget https://get.glennr.nl/unifi/extra/unifi-fail2ban.sh && chmod +x unifi-fail2ban.sh && ./unifi-fail2ban.sh