Online Expert Day - HPE Data Storage - Live Now
April 24/25 - Online Expert Day - HPE Data Storage - Live Now
Read more
System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

allow telnet only whithin same host

Ahmed_58
Regular Advisor

allow telnet only whithin same host

Dears,
Can some one tell how we can allow only telnet within the same host only?
by changing file /etc/inetd.conf and #telnet will stop telnet use completely, but we need to use it for some of the application internally within same host/server.

Ahmed
5 REPLIES
stephen peng
Valued Contributor

Re: allow telnet only whithin same host

check /var/inetd.sec, create one if there was no, and man inetd.sec
Aneesh Mohan
Honored Contributor

Re: allow telnet only whithin same host

vi /var/adm/inetd.sec
telnet allow serverip

server ip --- > your host ip

Aneesh
S.N.S
Valued Contributor

Re: allow telnet only whithin same host

After that, make inetd to re-read the config file by

inetd -c

HTH
SNS

Points Points Points :-) !
ITRC was in read-only mode!!
"Genius is 1% inspiration, 99% Perspiration" - Edison
Aneesh Mohan
Honored Contributor

Re: allow telnet only whithin same host

there is no need inetd -c for /var/adm/inetd.sec changes.

Aneesh
Ahmed_58
Regular Advisor

Re: allow telnet only whithin same host

thanks all, solution worked.