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

Share this Article :

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:

    [[email protected] ~]# route add -host IP-ADDRESS reject
    [[email protected] ~]# route add -host reject

Leave a Reply