UniFi Fail2Ban

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

Download

The Easy Fail2Ban Script for the UniFi Network Application can be downloaded here.

Changelog

The Changelog can be found here.

Instructions

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

rm unifi-fail2ban.sh &> /dev/null; wget https://get.glennr.nl/unifi/extra/unifi-fail2ban.sh && bash unifi-fail2ban.sh