Re: Blocking incoming IP address immediately

From: Trygve Selmer (trselmer_at_start.no)
Date: 11/30/04


Date: Tue, 30 Nov 2004 02:23:42 +0100

Jeff Franks wrote:
>>What command exactly are you typing?
>
> Basically "iptables -s 123.45.67.89 -i INPUT -j DROP" (or REJECT, i've done
> both).

First I thought you spelled it wrong, but you continuously have used the
  wrong syntax. Check the command "man iptables" for

-I INPUT (uppercase I) insert rule to the top of chain INPUT
-i eth0 (lowercase i) name of interface packets are received
-A INPUT (uppercase A) append rule to the end of chain INPUT
-a (lowercase a) not a valid option to iptables