LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 02-15-2006, 09:09 AM   #1
nitaish
LQ Newbie
 
Registered: Oct 2003
Posts: 17

Rep: Reputation: 0
changing the port of telnet


Hello,
I want to know how to change the port of Telnet to some unused port in Fedora Core 3. Can anybody guide me?

Thanks
Regards
Nitesh
QualiSpace
 
Old 02-15-2006, 09:42 AM   #2
doublejoon
Member
 
Registered: Oct 2003
Location: King George, VA
Distribution: RHEL/CentOS/Scientific/Fedora, LinuxMint
Posts: 370

Rep: Reputation: 44
telnet server by default is controlled by xinetd server. Go in /etc/xineted.d/ and look for telnet file and change "port = 23" to another unused port. This will help for obscurity but won't fool a good portscanning tool if its looking for Telnet services.

then run:
killall -HUP xinetd
nestat -pan | grep tcp

hopefully your newly defined port shows up


also I would add an "only_from = Ip address" in /etc/xinetd.d/telnet

or in /etc/hosts.allow "telnetd:IP's or hostnames"

Last edited by doublejoon; 02-15-2006 at 09:45 AM.
 
  


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
PLESK [Solution] Change port to 23 (telnet) instead of default port 8443 x5452 Linux - Software 6 05-10-2009 05:58 AM
can't telnet to port 25 varun_saa Mandriva 8 12-05-2005 08:36 PM
telnet to different port kenhrl Linux - Networking 3 10-29-2004 04:15 PM
telnet to port 80 davee Linux - Networking 5 08-06-2003 03:09 PM
Can't telnet to port 25 scooby_scrappy Linux - Networking 1 05-15-2002 02:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 01:57 PM.

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