Fail2ban vs Denyhosts vs Iptables

wpspeedster

Well-known member
Joined
May 6, 2016
Messages
111
Best answers
0
Ratings
4
Points
18
#1
The problem is that I am still getting logs that showing IP addresses trying to login and connect to SSH. I need a firewall to stop these. Reading that Fail2ban, Denyhosts and Iptables are best choices for this but not sure which is the best. What are your suggestions and how do people on Forum Web Hosting handle this problem?
 
Joined
Dec 28, 2016
Messages
64
Best answers
0
Ratings
29
Points
0
#2
CSF is the best solution and we can recommend. Simple, lightweight and does its job pretty darn well. It also has integration with all major control panels, if not, you can still set it up it through CLI.
 

LJSHost

Moderator
Staff Member
Joined
Jul 5, 2016
Messages
1,031
Best answers
0
Ratings
201
Points
63
#3
Most of these programs are just a font end for IPtables (this is the firewall)

I would go with CSF https://configserver.com/cp/csf.html easy to setup and provides a simple rules management tool. If you have WHM on your server you could just enable cPHulk with a couple of clicks which is also a decent firewall solution.
 

GswHosting

Well-known member
Joined
Aug 23, 2016
Messages
233
Best answers
0
Ratings
32
Points
0
#4
You can change ssh port from 22 to any you want. What do you have now firewall or iptables ?
Just make sure that you allow ssh connetion trought that port.
 
Older Threads
Replies
5
Views
973
Replies
9
Views
1,428
Replies
5
Views
1,547

Latest postsNew threads

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.