PDA

View Full Version : how to banned/unbanned ip



Goten
09-09-2005, 06:15 PM
hello,
I search over the forum but can't find what I'm looking for so please help me

how to banned an IP? and unbanned? I'm new on this please show me step by step

thanks for your help

justadollar
09-10-2005, 01:38 AM
Which linux distrobution?

nobaloney
09-10-2005, 08:24 AM
To completely block an IP# from a server you'll need to use your firewall.

To block IP#s for specific services that are either managed by inetd or xinetd, or which have support for "hosts" compiled in, then you can use /etc/hosts.allow and /etc/hosts.deny.

The "man" manual system is your friend:

man hosts.deny

man hosts.allow

Jeff

Goten
09-10-2005, 11:50 AM
thank you for your help :)