Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to Telnet into 2 routers behind linksys

Status
Not open for further replies.

JaSolomon

Technical User
Joined
May 23, 2002
Messages
5
Location
US
Hello,
Here is my setup.

Linksys bfsr hooked to cable modem
Crossover cable between linksys and 1912 (on 100mbs port)
2 2501s connected to 1912 (on 10mbps ports)via aux to rj45 adaptors
R1(dce) connected to R2(dte) by dce/dte cable, but I don't really understand
how that affects data flow yet


I want to be able to remotely telnet into both 2501 routers and the 1912 enterprise switch all at the
same time.

I have setup port forwarding on the linksys to go directly
to Router1 on port 23.

But how do I configure the router2, or switch1 to be open
to telnetting on ports other than 23

Any help would be hugely appreciated

Thanks in advance
 
The problem is that you can't... That is one of the main problems with the cheaper commerical Cable/xDSL routers is that it will only forward to one specific machine on a certain port (ie. you can't have 2 smtp servers behind the firewall, because you can only setup forwarding to one.)

What you can do is reverse telnet from the one router that is setup for the port 23 forwarding. Which means that once you telnet into that one router you can then telnet into any of the other routers or switches from the original router, just like an access server. That is what I would recommend. Just leave the one router to have telnet forwarding, and then if you want to access any of the other devices you can reverse telnet into them by using their hostname. Let us know...

burke
 
I telneted into the router throught the port forwarding.

Then while at the cisco> I tried telnet cisco2
to get into the other router.
also tried this with the name of the switch.

Both times got response: translating domain server (255.255.255.255>
%unknown command or computer name, or unable to find
computer address

I'm not sure what I'm doing wrong.

Also on the linksys forwarding page, their are 10 lines where you can input service port range/protocol/ip add.

Is there a way to utilize this.

Thanks again
 
:::snip::
Then while at the cisco> I tried telnet cisco2
to get into the other router.
also tried this with the name of the switch.
::snip::


You are trying to telnet via a name. In order to do this, you need to either get DNS working or put a list of DNS mappings on the router. Then you can say *telnet router* Until then, it's telnet 192.168.1.xxx(or whatever your IP scheme is)

Telnet servers are cheap either off brand hardware or via a service on a 98/ME/NT box. They are really the preferred way to go.

Here is everything you need to know about telneting to your router.. from the cisco perspective

MikeS
Find me at
"The trouble with giving up civil rights is that you never get them back"
 
Ok,
That makes perfect sense. Great link, Thank You.

And great website (packetattack.com) very cool!

Now I understand reverse telnetting..

But what are the 10 configurable lines on the linksys
forwarding page used for (mentioned above)

Thanks very much
 
Used for applications that don't play well in NAT environments -- internet games, PC Anywhere, chat programs, etc etc etc. Also, running a web server on a machine behind the switch would be an example.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top