Web Hosting Forum Login
Not a member yet? Sign up

Fail2ban vs Denyhosts vs Iptables

  • FORUMS
  • WEB DESIGN
  • WEB HOSTING OFFERS
  • ADVERTISING
  • WEB HOSTING
  • REQUEST A HOST
  • BEST WEB HOSTING
  • QUICK MENU
  • REGISTER HERE - Join us for FREE
Results 1 to 4 of 4
  1. #1
    Join Date
    May 2016
    Posts
    102
    Thanks
    44
    Thanked 3 Times in 3 Posts
    Thumbs Up/Down
    Received: 10/0
    Given: 163/0

    Fail2ban vs Denyhosts vs Iptables

    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?

  2. #2
    Join Date
    Dec 2016
    Location
    India
    Posts
    64
    Thanks
    0
    Thanked 28 Times in 16 Posts
    Thumbs Up/Down
    Received: 79/2
    Given: 4/1
    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.

  3. The Following User Says Thank You to EcommIndiaCloudIT For This Useful Post:
    wpspeedster (01-09-2017)

  4. #3
    Join Date
    Jul 2016
    Location
    Hertfordshire, UK
    Posts
    990
    Thanks
    40
    Thanked 188 Times in 157 Posts
    Thumbs Up/Down
    Received: 478/3
    Given: 138/4
    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.
    Web Hosting | Reseller | VPS
    30 Day Money Back Guarantee | cPanel | 365 Day UK Support | Free Trial
    https://www.ljshost.com

  5. The Following User Says Thank You to LJSHost For This Useful Post:
    wpspeedster (01-09-2017)

  6. #4
    Join Date
    Aug 2016
    Posts
    235
    Thanks
    20
    Thanked 33 Times in 32 Posts
    Thumbs Up/Down
    Received: 124/0
    Given: 42/1
    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.

  7. The Following User Says Thank You to GswHosting For This Useful Post:
    wpspeedster (01-09-2017)

Newer Threads

  1. AlmightyGreg
    LJSHost
    Replies: 2 | Views: 3031
    Last post by LJSHost, 01-09-2017, 02:34 PM
  2. AlmightyGreg
    Hosting13
    Replies: 11 | Views: 1669
    Last post by Hosting13, 03-14-2017, 03:54 PM
  3. AlmightyGreg
    Squid vs Varnish
    By AlmightyGreg in forum VPS Hosting
    VictorVictories
    Replies: 2 | Views: 1681
    Last post by VictorVictories, 02-15-2017, 03:02 PM
  4. Harry P
    Hetzner_Online
    Replies: 5 | Views: 2002
    Last post by Hetzner_Online, 02-10-2017, 08:04 AM
  5. Harry P
    Retch15
    Replies: 12 | Views: 2193
    Last post by Retch15, 11-03-2017, 12:59 PM

Older Threads

  1. Chris Worner
    Lampard
    Replies: 5 | Views: 842
    Last post by Lampard, 01-28-2017, 08:38 PM
  2. fwh
    GswHosting
    Replies: 5 | Views: 636
    Last post by GswHosting, 01-08-2017, 08:22 PM
  3. Moebuntu
    HostBastic
    Replies: 19 | Views: 6997
    Last post by HostBastic, 08-29-2017, 02:36 PM
  4. Aaron Lavers
    Wiredtree vs Liquidweb
    By Aaron Lavers in forum Web Hosting Reviews
    webhostuk
    Replies: 9 | Views: 1195
    Last post by webhostuk, 02-01-2017, 06:32 AM
  5. Paul Wellner Bou
    LJSHost
    Replies: 1 | Views: 1233
    Last post by LJSHost, 01-08-2017, 02:57 PM

Latest Threads

  1. livsn85
    junrose123
    Replies: 1 | Views: 14
    Last post by junrose123, Today, 09:14 AM
  2. livsn85
    livsn85
    Replies: 0 | Views: 23
    Last post by livsn85, Today, 07:57 AM
  3. junrose123
    junrose123
    Replies: 0 | Views: 9
    Last post by junrose123, Today, 07:06 AM
  4. buyangze
    buyangze
    Replies: 0 | Views: 8
    Last post by buyangze, Today, 06:23 AM
  5. livsn85
    Vps is safe?
    By livsn85 in forum VPS Hosting
    VirtuBox
    Replies: 1 | Views: 28
    Last post by VirtuBox, Today, 07:23 AM

Similar Threads

  1. Aaron Lavers
    fail2ban vs sshguard vs csf
    By Aaron Lavers in forum VPS Hosting
    SmileServe
    Replies: 23 | Views: 6220
    Last post by SmileServe, 10-21-2017, 03:36 PM
  2. BillEssley
    StartVM
    Replies: 9 | Views: 1605
    Last post by StartVM, 12-17-2016, 07:24 PM
  3. postcd
    UnderHost
    Replies: 1 | Views: 1108
    Last post by UnderHost, 11-01-2016, 07:07 PM
  4. Cort Ammon
    Cort Ammon
    Replies: 0 | Views: 663
    Last post by Cort Ammon, 08-09-2016, 04:39 AM
  5. regularjoe
    VirtuBox
    Replies: 1 | Views: 679
    Last post by VirtuBox, 05-05-2016, 10:34 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Web Hosting Forum

ForumWeb.Hosting is a web hosting forum where you’ll find in-depth discussions and resources to help you find the best hosting providers for your websites or how to manage your hosting whether you are new or experienced. You’ll find it all here. With topics ranging from web hosting, internet marketing, search engine optimization, social networking, make money online, affiliate marketing as well as hands-on technical support for web design, programming and more. We are a growing community of like-minded people that is keen to help and support each other with ambitions and online endeavors. Learn and grow, make friends and contacts for life.

Community

The world's smartest hosting providers come here to discuss & share what's trending in the web hosting world!
Copyright ©2017, ForumWeb.Hosting. All rights reserved. Web Hosting Forum for webmasters, web hosting providers, designers and web developers.

Welcome to Forum Web Hosting

The World's Number 1 Web Hosting Community, Reviews & Services

Log in!

Continue with Facebook
Continue With Email. By signing up you indicate that you have read and agree to the Terms of Service and Privacy Policy.

Sign in Manually

Need an account? Sign up now!