Using a command such as this one, you would redirect connections to a system you don't want to permit to your loopback interface.
# route add 188.8.131.52 gw 127.0.0.1 lo
To reverse this, you would do this:
# route delete 184.108.40.206
You could also do block connections to a particular system or subnet using a command such as these:
# route add -host 220.127.116.11 reject # route add -net 18.104.22.168/24 reject
Managing routing configuration on Linux systems is relatively easy, but a good handle on what the basic commands can tell you and do for you is essential.
Read more of Sandra Henry-Stocker's Unix as a Second Language blog and follow the latest
href="http://www.itworld.com/news">IT newsat ITworld, Twitter and Facebook.
flickr / Ramkarthikblogger