Find the answer to your Linux question:
Results 1 to 4 of 4
Hello, I would like to know how i can ban IP's for a certain amount of seconds via the IPtables firewall. I hope you can help. Thanks!...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2009
    Posts
    2

    IPTables - Block IP for x Seconds


    Hello,

    I would like to know how i can ban IP's for a certain amount of seconds via the IPtables firewall.

    I hope you can help.

    Thanks!

  2. #2
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,672
    You might have a look at limit.

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  3. #3
    Just Joined!
    Join Date
    Oct 2009
    Posts
    2
    I could never get that working...

    Instead i have created a php script that unbans after x seconds. Works perfectly.

  4. #4
    Banned
    Join Date
    Feb 2010
    Posts
    31

    fail2ban

    Fail2ban does exactly this, and it works well for many different services, not just ssh.

Posting Permissions

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