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 22.214.171.124 gw 127.0.0.1 lo
To reverse this, you would do this:
# route delete 126.96.36.199
You could also do block connections to a particular system or subnet using a command such as these:
# route add -host 188.8.131.52 reject # route add -net 184.108.40.206/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