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

Jatin K ssh.fedora at gmail.com
Fri Oct 1 12:39:43 UTC 2010


Dear All,

I want to allow telnet in my server from local LAN from only one IP 
address, to fulfill the requirement  what should I do from the following

[1] add an entry in /etc/host.allow like following

telnetd : xx.xx.xx.xx

or

[2] add an entry in /etc/host.deny like following

telnet : ALL except xxx.xxx.xxx.xxx


[3] or simply create a iptables rule to allow telnet from desired IP


what is the best option to go through ???


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



More information about the users mailing list