HELP - how to block a specific ip
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 7 lines · Robert La Ferla
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.