Issue :

How to null-route IP addresses via Routing Table ?

Fix :

To block a single IP :

ip route add blackhole XX.XX.XX.XX

To block a network range :

ip route add blackhole XX.XX.XX.XX/16

To remove the block :

ip route del XX.XX.XX.XX
ip route del XX.XX.XX.XX/16


Shares
Contact Us On WhatsApp