Operating System - HP-UX
1753865 Members
7519 Online
108809 Solutions
New Discussion юеВ

Multiple LAN and IP with different telnet port assignment

 
pravasmohanty
New Member

Multiple LAN and IP with different telnet port assignment

Hi All,
I have 4 lan interface configured with 4 different IP. I am trying to change the default telnet port for only one interface(i.e. lan3's IP)and want to keep default 23 for rest(lan0,lan1,lan4's IP).

Thanks,
PRAVAS
2 REPLIES 2
Horia Chirculescu
Honored Contributor

Re: Multiple LAN and IP with different telnet port assignment

Hello,

You can not do that. Inetd is reading /etc/services and from there it fires up telnetd when detecting an incoming connection on the port no. listed in that file.

telnetd would listen on all interfaces on the same port.

Additionally, based on security risks involved (no encription - plain text communications between client/server), you should get rid of telnet and use only ssh(d).

Best regards from Romania,
Horia.
Best regards from Romania,
Horia.
pravasmohanty
New Member

Re: Multiple LAN and IP with different telnet port assignment

Yes I have done, it required some changes in /etc/inetd.conf,/etc/services,/var/adm/inetd.sec.

Thanks,
PRAVAS MOHANTY