How to Drop or Block Incoming/Attackers IP Address Using null route

Instead of using iptables firewall to block the attacker’s ip, you also can use null route. To implement this on your linux system, you just need to run below command :

Reject the target ip address:

    [root@server ~]# route add -host IP-ADDRESS reject
    [root@server ~]# route add -host reject

Leave a Reply

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

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>