Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Telnet on port 6066

We have several routers that can only be accessed on telnet port 6066 (vice 23).  I have no global exec privilege so I can not provide config.

So my question is: how do you configure the router to accept port 6066 for telnet and deny port 23?

Thanks in advance.

Del

Everyone's tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions
Silver

Telnet on port 6066

by changing the system port-map.

like this, since I´m doing telnet, it don´t allow me to change the telnet port, because its using it.

Router(config)#ip port-map telnet port udp 6066

Router(config)#ip port-map telnet port tcp 6066

%Unable to add port-map entry.

This port entry is already contained in the application x11

Router(config)#exit

Router#sh ip port-map | include telnet

Default mapping: telnet tcp port 23 system defined

Default mapping: telnet udp port 6066 user defined

has you can see, in the ip port-map you see the system mapping and can change the system ports to anotther one as user defined.

Default mapping: telnet udp port 6066 user defined

defined

---

Posted by WebUser Pedro Seabra Ávila from Cisco Support Community App

4 REPLIES
Silver

Telnet on port 6066

by changing the system port-map.

like this, since I´m doing telnet, it don´t allow me to change the telnet port, because its using it.

Router(config)#ip port-map telnet port udp 6066

Router(config)#ip port-map telnet port tcp 6066

%Unable to add port-map entry.

This port entry is already contained in the application x11

Router(config)#exit

Router#sh ip port-map | include telnet

Default mapping: telnet tcp port 23 system defined

Default mapping: telnet udp port 6066 user defined

has you can see, in the ip port-map you see the system mapping and can change the system ports to anotther one as user defined.

Default mapping: telnet udp port 6066 user defined

defined

---

Posted by WebUser Pedro Seabra Ávila from Cisco Support Community App

New Member

Telnet on port 6066

Thank you very much!

Del

Purple

Telnet on port 6066

Hi,

Are you sure this is working? As far as I know this feature is not meant for this but for firewall feature to recognize application using non standard ports.I think you can accomplish this using  a static PAT with a loopback like this:

ip nat inside tcp 1.1.1.1 23 interface x/x 6066  where 1.1.1.1 is a loopback IP address

Regards.

Alain

Don't forget to rate helpful posts.

Don't forget to rate helpful posts.
New Member

Re: Telnet on port 6066

Hi I would like to use the rotary command to telnet into a cisco router. Lets say a port-6187(non standard port). I know that PAT and port-map can be used.

Is there any other way that can be used.

Plz advise,thanks in advance.

Message was edited by: rob roy

2330
Views
0
Helpful
4
Replies
CreatePlease login to create content