@Strykar fail2ban like functionality for the webgui and ssh is enabled by default in OPNsense (https://github.com/opnsense/sshlockout_pf).After 15 retries it locks the ip address using two aliases (sshlockout, webConfiguratorlockout).