- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Telnet Port.
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2007 04:11 AM
08-27-2007 04:11 AM
Hi,
I want to add new telnet port on my hp-ux, for example port 5236, and after this I need telnet working on port 23 and 5236. It is possible?
Thanks, regards Cadu.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2007 04:24 AM
08-27-2007 04:24 AM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2007 04:28 AM
08-27-2007 04:28 AM
Re: Telnet Port.
Yes, but telnet itself is not secure. There is a product secure shell which has a file called sshd_config which permits you to tell it to listen on any port you want.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2007 05:01 AM
08-27-2007 05:01 AM
Re: Telnet Port.
take a look at this link
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&docId=emr_na-c01015443-1
if the link does not work, here is the content:
SYS ADM: Adding additional port to listen for telnet through firewall.
Problem Description
I want to set up an additional port to listen for telnet. I
do not want to just change the port that I have for telnet.
The reason I want to configure a second port is that I want
to come to the new port through a firewall.
How do I set up this port?
Configuration Info
Operating System - HPUX
Version - 10.20
Hardware System - HP 9000
Series - D370
Solution
Use the following procedure:
1. Edit inetd.conf and make another entry for telnet. The key is
to call it something else besides telnet, for example, newtelnet.
2. Edit the /etc/services file and make another entry for telnet
changing the name and port number (something high).
3. Stop and start inetd
/usr/sbin/inetd -k
/usr/sbin/inetd
i hope it helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2007 05:08 AM
08-27-2007 05:08 AM
Re: Telnet Port.
not sure what is the purpose you need another telnet port 5236. Telnet port is port 23 it is a well known ports
http://www.iana.org/assignments/port-numbers.
The following ports and port ranges are used by HP-UX 11i version 1 and HP-UX 11i version 2.
http://docs.hp.com/en/5990-7252/ch01s01.html?btnNext=next%A0%BB
hope this help.
WK
please assign points
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2007 06:27 AM
08-27-2007 06:27 AM
Re: Telnet Port.
my inetd.conf:
telnet stream tcp nowait root /usr/lbin/telnetd telnetd
newtelnet stream tcp nowait root /usr/lbin/telnetd telnetd
my /etc/services:
ftp 21/tcp # File Transfer Protocol (Control)
telnet 23/tcp # Virtual Terminal Protocol
telnet 5236/tcp # Virtual Terminal Protocol
smtp 25/tcp # Simple Mail Transfer Protocol
And I restart inetd but no working, thank´s for all.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2007 06:30 AM
08-27-2007 06:30 AM
Re: Telnet Port.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2007 06:32 AM
08-27-2007 06:32 AM
Re: Telnet Port.
telnet 23/tcp # Virtual Terminal Protocol
telnet 5236/tcp # Virtual Terminal Protocol
you need something like this on the host running the telnet daemon:
telnet 23/tcp # Virtual Terminal Protocol
dumbnet 5236/tcp # Virtual Terminal Protocol
Now, in the /etc/inetd.conf file, find the existing telnet entry and copy it. In the copied entry, change the service_name "telnet" to "dumbnet" and save the file. Next issue an "inetd -c" command.
On the telnet client, you use "telnet hostname 5326".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2007 06:53 AM
08-27-2007 06:53 AM
Re: Telnet Port.
Now the service file:
telnet 23/tcp # Virtual Terminal Protocol
newtelnet 5236/tcp # Virtual Terminal Protocol
And the ined.conf:
telnet stream tcp nowait root /usr/lbin/telnetd telnetd
newtelnet stream tcp nowait root /usr/lbin/telnetd telnetd
But not working. I need restart the server?
Best regards...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2007 06:56 AM
08-27-2007 06:56 AM
Re: Telnet Port.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2007 07:05 AM
08-27-2007 07:05 AM
Re: Telnet Port.
Hi guys now is working perfect, in the way that I wanted very thanks for all. I tested and is great.
Best regards...