LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-12-2007, 09:16 AM   #1
HyperTrey
Member
 
Registered: Sep 2006
Posts: 127

Rep: Reputation: 15
Need help adding telnet to firewall


How do I add telnet (port 23) to permanently be allowed by the firewall without screwing up the firewall itself? (using iptables)

I also did the following:

chkconfig telnet on
/etc/init.d/xinetd restart
and changed the line to read disable = yes in /etc/xinetd.d/telnet

How do I make this permanent so I don't lose it on restart of machine?


This is a test server and we are testing our software with telnet and ssh both.
 
Old 06-12-2007, 10:41 AM   #2
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Something like:

iptables -A INPUT -p tcp --destination-port 23 -j ACCEPT

in your firewall script should do it.
 
  


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
How do I mud (telnet) behind a firewall tavarius Linux - Networking 1 11-06-2006 02:17 PM
OS X firewall? No telnet or ssh bulliver Other *NIX 6 04-01-2005 06:19 AM
SSH, Telnet, Firewall concoran Linux - Networking 18 08-29-2002 12:53 PM
slow logins to telnet/ftp from outside firewall imunky Linux - Networking 3 03-08-2002 12:00 AM
How to telnet if you r behind firewall???? atiato Linux - Networking 2 03-03-2002 03:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:14 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