Telnet in RHEL5

Telnet configuration in RHEL5

 First check whether telnet-server rpm in installed,

# rpm -q telnet-server

If it is installed, then edit

# vi /etc/xinet.d/telnet
change the line disable = yes   to 
                disable = no

Then # service xinetd restart

Now We can able to telnet connection of linux system.

Note : It works for the system which is not protected with IPtables and Selinux

If you have iptables enabled. then please follow as below,

Make a rule to allow telnet from external clients

# iptables -I INPUT -p tcp --dport 23 -j ACCEPT 

# service iptables save

# service iptables restart

Just give following command and make sure that rule is saved.
# iptables -L

This rule is to allow request coming to port number 23 i.e. telnet connections from any client.

Comments 11 comments

Senthil 7 years ago

Excellent .. This works like a charm! Thank you.

balagi27 profile image

balagi27 7 years ago from India Author

Hai senthil... Thanks for comment.. more available here in

Abhishek Kumar 6 years ago

Thanks for the short and informative post... Thank you very much...

Sushil 6 years ago

Linux is very powerfull. but someone is always required to tell the best technique.

Thanks a lot.

balagi27 profile image

balagi27 6 years ago from India Author

Thanks sushil for your comments

vishal vyas 6 years ago

nice post..... :)

balagi27 profile image

balagi27 6 years ago from India Author

thanks vishal

suresh 5 years ago

very useful commands

m.theresh 5 years ago

u command help full me thank you

balagi27 profile image

balagi27 5 years ago from India Author

More such informations available in my blog

Sendil HCL Chennai 5 years ago

Dear sir,its really nice and help full to me.. thank u very much

    Sign in or sign up and post using a HubPages Network account.

    0 of 8192 characters used
    Post Comment

    No HTML is allowed in comments, but URLs will be hyperlinked. Comments are not for promoting your articles or other sites.

    Click to Rate This Article