Fail2ban in NethServer

Wow that’s awesome! :+1:

1 Like

a bit postponed…coming soon

Looking forward testing it out :slight_smile:

I am having issues figuring this out and i am under attack at the moment… Really need the direct information on what the steps are for installation… I know how to configure it because i use it on my debian servers…

Here is what i am getting…

[root@webserver ~]# yum update
Loaded plugins: changelog, fastestmirror, nethserver_events, presto
Setting up Update Process
Loading mirror speeds from cached hostfile
 * centos-base: ca.mirror.babylon.network
 * centos-updates: ca.mirror.babylon.network
 * nethserver-base: mirror.nethserver.org
 * nethserver-updates: mirror.nethserver.org
No Packages marked for Update
[root@webserver ~]# yum install fail2ban
Loaded plugins: changelog, fastestmirror, nethserver_events, presto
Setting up Install Process
Loading mirror speeds from cached hostfile
 * centos-base: ca.mirror.babylon.network
 * centos-updates: ca.mirror.babylon.network
 * nethserver-base: mirror.nethserver.org
 * nethserver-updates: mirror.nethserver.org
No package fail2ban available.
Error: Nothing to do
[root@webserver ~]#

The package is in stephdl repository.

https://wiki.nethserver.org/doku.php?id=module:fail2ban

1 Like

Hmm… Didn’t work for me…

[root@webserver ~]# yum install nethserver-fail2ban --enablerepo=stephdl

Loaded plugins: changelog, fastestmirror, nethserver_events, presto


Error getting repository data for stephdl, repository not found
[root@webserver ~]#

You may be missing the first step of the wiki howto (installing the repo).

2 Likes

ok thanks it was a breeze sorry i had thought that you guys put it in the main stream rpm from reading above i didn’t realize i had to download and install another rpm…

Thanks again! We are up and running and website is back up…

http://lorentedford.com

1 Like