If your machine is a router, you should also do:

iptables -I FORWARD -s [ip] -j DROP

so that it catches packets that are being routed and not destined for
firewall machine itself.

> Hi.
>
> Quick question. I would like to block an ip temporarily. I would like to
> accomplish this without modifying my firewall just on the fly. I am
> banking that all I would need to do is type
>
> iptables -I INPUT -s [ip] -j DROP
>
> Am I on the right track or is this not correct. Any help would be
> appreciated Thanks.
>
> --
> Aaron
>
>
> --
> [EMAIL PROTECTED] mailing list
>
>


--
[EMAIL PROTECTED] mailing list

Reply via email to