Find the answer to your Linux question:
Results 1 to 4 of 4
how to block an IP do illegal ssh on my server? some one do brute shh to login my root.. I read old posted in this forum use this method: ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2010
    Posts
    2

    Smile block permanent an ip do illegal ssh on my server


    how to block an IP do illegal ssh on my server? some one do brute shh to login my root..
    I read old posted in this forum use this method:
    /sbin/route add -host ip_address reject
    or
    iptables -I INPUT -s ip_address -j DROP
    this method can't use permanently on server.. if server reboot all setting will flush and remove all..
    ..thanx.

  2. #2
    Linux Engineer rcgreen's Avatar
    Join Date
    May 2006
    Location
    the hills
    Posts
    1,134
    There are a number of easily available apps
    to help manage your iptables rules.

    Google

  3. #3
    Linux Engineer Segfault's Avatar
    Join Date
    Jun 2008
    Location
    Acadiana
    Posts
    878
    Root login is disabled, I hope? Disabling password based login would give peace in mind.

    DenyHosts is another way to block them.

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Sep 2010
    Posts
    2
    Quote Originally Posted by rcgreen View Post
    There are a number of easily available apps
    to help manage your iptables rules.
    i've tried using software csf..
    in test mode it's not work..
    but if it's on normal mode all my client can't access sshd tunneling for VPN..
    how is it?

Posting Permissions

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