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