Fail2ban configuration

Forums » The Lounge » Linux

You need to be logged in to post in the forums. If you do not have an account, please sign up first.

Go to last post

7. June 2011, 11:20:57

USDen77

Banned user

Fail2ban configuration

Anyone know a good web site to indicate how to configure fail2ban correctly and secure a server. I am self taught old guy and could use a little help.I would feel better about the whole thing. I check the thing manually using openssh

Thx in advance.

7. June 2011, 15:04:48

Frenzie

Posts: 14442

http://www.howtoforge.com/fail2ban_debian_etch looks like it might contain some useful information.

If you're on Debian or a Debian-based system and it works out for you, please share, 'cause this sounds better than DenyHosts (although without a doubt DenyHosts covers the most important possible attack vector).
Intelligent alien life does exist, otherwise they would've contacted us. — CalendarExtend Opera

7. June 2011, 18:43:51

USDen77

Banned user

Originally posted by Frenzie:

http://www.howtoforge.com/fail2ban_debian_etch looks like it might contain some useful information.

If you're on Debian or a Debian-based system and it works out for you, please share, 'cause this sounds better than DenyHosts (although without a doubt DenyHosts covers the most important possible attack vector).



Thanks Frenzie..

Yes it is debian based. I have been to the server setup ,but not here i will look it over. it is a little confusing for self taught. I do the DenyHosts thing but for some reason I don't trust it. I don't use php as the buggers are after it all the time. it is just a family server. I have fail2ban configured but it doesn't seem to add to iptables. I think it is because I use ufw. Chinese are real rats, always after it. So far I just read logs and stop them from retrying, at least with that ip.

But if someone gets in I am not sure I would know. In fact I probably wouldn't. bigsmile duh old guys aye.

9. June 2011, 23:30:09

USDen77

Banned user

well I went through the thing about as he said. I just have a little newer version. restarted it and it is running. Now I will just watch and see if anything from logs gets added to ip tables. You know it is possible I didn't restart it when making a change or something, dumb but possible.if you don't hear from me I am in business if you hear well ....

Thanks again

11. June 2011, 12:53:34

USDen77

Banned user

Ok, it has fail2ban listed in IPtables Double thanks

11. June 2011, 14:12:04

Frenzie

Posts: 14442

Neat. I might just try doing the same myself when I've got some more time to play around with these kind of things.
Intelligent alien life does exist, otherwise they would've contacted us. — CalendarExtend Opera

23. February 2012, 23:23:11

girlbeauty

Love All

Posts: 3

Hi USDen77,

Take a look at this link - http://www.voip-info.org/wiki/view/Fail2Ban+(with+iptables)+And+Asterisk. It should help you out with your problem.
Waiting anxiously for the new iphone 5 to be released. Enjoy this free mortgage calculator for quick and easy monthly payment calculations

Forums » The Lounge » Linux