On Saturday 22 June 2002 5:25 am, Robert La Ferla wrote:

> Thanks again for your help.  I have a question.  If I wanted to block
> 11.22.33.xx (all 256 ips) from accessing my system, what command would I
> use?
>
> Is this correct?
>
> iptables -A INPUT -s 11.22.33.0/24 -j DROP

Yes.

Make sure you put it before any other rules which might allow the packets 
through.

 

Antony.

Reply via email to