On Fri, 2010-10-01 at 19:06 +0530, Jatin K wrote:
what is the perfect way
only host.allow or host.deny file
or only iptables ??
One could argue that this is no "perfect" way. And that multiple efforts to protect yourself is the best way.
Personally, I'd deny all, and just allow the known address. Then do the same with the firewall rule. Though, I wouldn't allow telnet, at all. Are you sure you need it?