I’ve installed Guacamole on Nethserver. I then installed fail2ban Nethserver and enabled fail2ban for 5 login attempts using Incremental ban time. I then tried logging in from my phone (not on wifi so it’s outsie our network) and I can see my phone IP banned.
I also have Nextcloud installed on my Nethserver and from outside our network I tried accessing Nextcloud but the IP on my phone does not get banned. What I did see is I get a Nextcloud message that to many login attempts have occurred and I have to wait 30 seconds.
Is there a settting for Nextcloud that will allow fail2ban to ban an IP like what happened for my Guacamole?