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

Jatin K ssh.fedora at gmail.com
Mon Oct 4 04:29:09 UTC 2010


On Saturday 02 October 2010 06:41 PM, Tim wrote:
> On Fri, 2010-10-01 at 19:06 +0530, Jatin K wrote:
>    
>> what is the perfect way
>>
>> only host.allow or host.deny file
>>
>> r 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?
>
>    
I'm also thinking like you ... no need to allow telnet .....but customer 
is the king .... he says the he wants telnet to server ... nothing can 
be done ...!!!

finally I've used both host file and iptables ...

thnx for you help

-- 
   °v°
  /(_)\
   ^ ^  Jatin Khatri
Registerd Linux user No #501175
www.counter.li.org
No M$



More information about the users mailing list