To block a single IP address I'm using the following:
/sbin/route add -host 192.168.0.0 127.0.0.1
Is it possible to block an range of the IP addresses using the route
?
I have tried the tips found on google like:
/sbin/route add 192.168.0.0/24
/sbin/route add -net 192.168.0.0/24 -blackhole
But none of them seem to work.