Shell script iptables based firewall for virtuozzo VPS for REDHAT Linux

Posted on in Categories Security last updated April 10, 2008

4 comment

  1. # iptables -A flood -m limit -limit 1/s -limit-burst 3 -j RETURN
    iptables v1.4.3.1: option limit' requires an argument
    Try
    iptables -h’ or ‘iptables –help’ for more information.
    hi after doing this without the script
    i get the error can you help Boris .
    i’m new to iptable thanks

  2. Can you please make a decent shell script where you dont get logged out, drop and deny access to ONLY the bad IPs? How hard is that because this script what it does is logout me – the serveradmin :(

  3. Nice, I’d just suggest one thing:

    iptables -A flood -m limit –limit 1/s –limit-burst 3 -j RETURN

    If the IP address of the source of attack is spoofed, this rule will return the packets to the spoofed IP, so technically it will hit the innocent victim back – saw this happen, those type of attacks are often performed, so it would be better to DROP those packets.

Leave a Comment