Allow telnet to only one IP using host.deny or host.allow

Tim ignored_mailbox at yahoo.com.au
Sat Oct 2 13:11:51 UTC 2010


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?

-- 
[tim at localhost ~]$ uname -r
2.6.27.25-78.2.56.fc9.i686

Don't send private replies to my address, the mailbox is ignored.  I
read messages from the public lists.





More information about the users mailing list