For openSUSE Tumbleweed run the following as root:
zypper addrepo https://download.opensuse.org/repositories/home:lrupp/openSUSE_Tumbleweed/home:lrupp.repo
zypper refresh
zypper install fail2ban
For openSUSE Leap 15.2 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/home:lrupp/openSUSE_Leap_15.2/home:lrupp.repo
zypper refresh
zypper install fail2ban
For openSUSE Leap 15.1 ARM run the following as root:
zypper addrepo https://download.opensuse.org/repositories/home:lrupp/openSUSE_Leap_15.1_ARM/home:lrupp.repo
zypper refresh
zypper install fail2ban
For openSUSE Factory run the following as root:
zypper addrepo https://download.opensuse.org/repositories/home:lrupp/openSUSE_Factory/home:lrupp.repo
zypper refresh
zypper install fail2ban
For 15.4 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/home:lrupp/15.4/home:lrupp.repo
zypper refresh
zypper install fail2ban