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