LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-13-2010, 05:38 AM   #1
crahuldba@gmail.com
Member
 
Registered: Apr 2010
Posts: 52

Rep: Reputation: 2
Question Related to telnet


Hello Friends
I have a question about telnet.
Is there any way to configure a telnet server without disable firewall.
I am using redhat 5.2 and fedora 12
I have lack of knowledge about firewall.
please help me.
Thanks & Regards
Rahul
 
Old 10-13-2010, 06:03 AM   #2
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: RHEL/Ubuntu/Debian/Fedora/Centos/K3OS
Posts: 1,159
Blog Entries: 4

Rep: Reputation: 149Reputation: 149
Ya its possible to have telnet server or any server without disabling firewall!

But I would suggest you to user ssh over telnet as ssh is more secured and telnet is not at all.

To have telent or ssh without disabling firewall;you need to allow those two services in iptables:

For ssh
Quote:
iptables -A INPUT -p tcp --dport 22 -j ACCEPT
For telnet
Quote:
iptables -A INPUT -p tcp --dport 23 -j ACCEPT
you can also achieve this using tcpwrappers i.e /etc/hosts.allow and /etc/hosts.deny
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
telnet related problem vivek mishra Linux - Networking 1 12-15-2009 08:37 AM
bash related question Menestrel Linux - Newbie 2 01-25-2005 10:03 AM
Hard to explain: Telnet Related duaux Linux - Software 2 08-15-2004 01:21 AM
c related question. blackzone Programming 1 07-24-2004 08:55 AM
QuickQuestion.. Telnet and FTP related Illusion *BSD 1 07-14-2003 01:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration