Blocking an IP address using route command.

To add an IP to
root# route add gw lo

Also it can be rejected by:
root# route add -host reject

Block entire subnet
root# route add -net gw lo

To delete this rule:
root# route del -host reject

Leave a Reply

Your email address will not be published. Required fields are marked *