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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

TELNET FROM ONE PC TO ANOTHER ON SAME ROUTER

Status
Not open for further replies.

Zilas00

Technical User
Mar 16, 2003
5
US
Hello! I have netgear router rp614 and I have two computers connected to it, one computer is running a Worldgroup Server (before the router was connected) for a multi-user game, i was wondering if there is any way for me to telnet from one computer to the other to log into the Worldgroup Server, also if it is now possible for a person outside of the network (say on dial-up) to telnet into the computer running the worldgroup server so they can log on as well. Any insights?
 
If the worldgroup server simply uses a conventional TCP/IP connection -
[ol][li]For access from outside your LAN - set the router to forward the appropriate ports to your server's LAN IP (anyone connecting on those ports from the internet will be routed through to that server)

You could instead configure the router to put the server's IP in the DMZ (not very secure - the machine is FULLY visible to the internet, but all ports are forwarded to the server)[/li]

[li]For access from within your LAN - logon in as normal using the LAN IP address of the server.
You may be able to test this from Windows Explorer by typing &quot;telnet://server.ip.address:port-no/&quot; - the default port is normally 23. (e.g. &quot;telnet://192.168.2.1:23/&quot;)[/li][/ol] <marc>[ul]help us help![li]please provide feedback on what works / doesn't[/li]
[li]not sure where to start? click here: faq581-3339[/li]
[/ul]
[/sup]
 
Thank you for your assistance however how do I change setting in my router? sorry I am not too network savy but I can get around, I am running windows 98 on the machine with the worldgroup server and i am running XP pro on the machine i wana telnet from
 
Hi Zilas - appreciate you're new to networking: welcome to the forum [smile]

As for resolving your issue -
I'm not familiar with your model of router - to be honest, there's so many models around these days it's too hard to stay current with everything!

So the answer (as always) is check your user manual.
It's available online at:
in fact q1 in the FAQ is &quot;How do I configure port Forwarding on NETGEAR routers?&quot;

nb remember - the default telnet port is 23 (it may be a different port for your server - again, check your user manual for the worldgroup software if opening port 23 doesn't work).

If the solution given below doesn't resolve the issue, post back with
a) what happens when you try to connect
b) a description of the network layout
c) your IP configuration.
Check my FAQ for more help: FAQ581-3339.

FYI - the answer Netgear give is
Type# 2 routers:
RP614, MR814, FVS318, FVM318.
For the above mentioned models please follow as below:

Open Internet Explorer, and in the Address Bar type the IP Address of the router (Default IP Address of the router is 192.168.0.1). Click on Go.
Enter the username and password for the router (Default Username is “admin” and password is “password”).
From the Main Menu of the browser interface, under Advanced, click on Port Forwarding to view the port forwarding menu.
From the Service & Game box, select the service that you will host on your network. If the service does not appear in the list, refer to the following section, “Add a Custom Service”.
Enter the IP address of the local server in the corresponding Server IP Address box.
Click the Add button.
Add Customer Service:
To define a service, game or application that does not appear in the Services & Games list, you must determine what port numbers are used by the service. For this information, you may need to contact the manufacturer of the program that you wish to use. Below given is the procedure to add Custom Service.
Click the Add Custom Service button.
Enter the first port number in an unused Start Port box. To forward only one port, enter it again in the End Port box. To specify a range of ports, enter the last port to be forwarded in the End Port box.
Enter the IP address of the local server in the corresponding Server IP Address box.
Type a name for the service.
Click Apply at the bottom of the menu.
Now this newly created service will be listed under Service & Game box, and follow the step number 4 onwards of Port Forwarding Procedure.
Edit or Delete a Port Forwarding Entry:
To edit or delete a Port Forwarding entry, follow these steps.
In the table, select the button next to the service name.
Click Edit or Delete.
Note:
Assign static IP Address to the machine acting like Local Server.
You can also specify a Default DMZ Server to which all other incoming protocols are forwarded. The DMZ Server is configured in the Security Menu.
For security, you should avoid using the Default DMZ Server feature. When a computer is designated as the Default DMZ Server, it loses much of the protection of the router, and is exposed to many exploits from the Internet. If compromised, the computer can be used to attack your network.
Some residential broadband ISP accounts do not allow you to run any server processes (such as a Web or FTP server) from your location. Your ISP may periodically check for servers and may suspend your account if it discovers any active services at your location. If you are unsure, refer to the Acceptable Use Policy of your ISP.
For the port number of various well-known applications please click here (Refer to Table #2: Application and Port List). For detailed information with example please refer to the Manual of the respective router. You can find this manual in the download section of our website, or explore the CD that was shipped with the router for the manual in .pdf format.
<marc>[ul]help us help![li]please provide feedback on what works / doesn't[/li][li]not sure where to start? click here: faq581-3339[/li][/sup][/ul][/sup]
 
Thanks for your assistance Marc, Very Appreciated. my router is 192.168.0.1, PC w/ worldgroup server is 192.168.0.3, and the PC that i would like to access into is 192.168.0.2, i set the router to port forward to 192.168.0.3 but when i still try to telnet into from the other computer it constantly tells me that its unable to connect to that IP address and Port, The Port is 23 and the server supported port 23 before. I might be trying to do a square peg and round hole but how can i find what ip address i can give to my friend so he can set his telnet program up to telnet in (192.168...etc..etc) is only my internal network right?
 
You need to give your friend your WAN IP address - this would be the IP address allocated by your ISP. You should be able to see this by going to your router's status page.

The WAN IP is the only IP visible to the outside world; if your router receives an incoming connection, it will forward it to the appropriate PC on your LAN based on the port. This is how you can setup different PCs to handle different tasks, e.g. 1 for your worldgroup server, a different for a webserver (port 80), another one for an FTP server (ports 21&22) etc.


Port forwarding is only for machines outside your LAN - you don't need this function to get access from within your LAN, so there is a second issue preventing you from accessing the server from the LAN PC.

1. How did you access the server before the router was connected? (e.g. Hub? Cat 5 network cable? etc)
2. Are you sure both machines can connect through TCP/IP? Do a ping test to be sure. (dos command &quot;ping 192.168.0.3&quot;). Ping the server from the workstation AND VICE VERSA.
3. If they're not pinging each other, try and ping the router. If one of them cannot ping the router, check your cabling (make sure your CAT 5 cables are patch, not crossover), check your NIC, check TCP/IP & DUN are properly installed.

If still no joy, post back with the results of Dos command &quot;ipconfig /all&quot;. Good luck! <marc>[ul]help us help![li]please provide feedback on what works / doesn't[/li][li]not sure where to start? click here: faq581-3339[/li][/sup][/ul][/sup]
 
computer No. 1 w/o worldgroup server pings to everything(router, itself, and other computer) computer no.2 pings to itself, the router, but not the computer w/o the worldgroup server, my port forwarding is set to the IP of the computer with the worldgroup server and the port adresses are correct too but when i go to another room and try to log into it from another internet service (found my actualy ip address) it still says Unable to connect. All my setting seem to be okay but i cant telnet from in my own network or outside my own network still :( frown
 
Oh, and to answer your question on to how i had it hooked up before i just had my cable modem plugged directly into the network card and gave my friends the ip address and they were able to connect no problems
 
So...

PC1 = WinXP workstation 192.168.0.2
PC2 = Win98 + worldgroup server 192.168.0.3
PC1 - pings everything, connection OK.
PC2 - pings itself, pings the router, CAN'T PING PC1.

That could be the WinXP firewall - blocks incoming connections. You can turn this off (since you NAT, it doesn't add a great deal of protection).


Try telnetting into the server FROM the server (loopback)
(i.e. run telnet.exe then connect to host 192.168.0.3 from the same PC running the server)
This will test if your server is successfully connecting to telnet.

I'm not sure what else could be the problem...it appears your network settings are fine, as everything is pinging OK.

> Have you / how did you access the server previously? <marc>[ul]help us help![li]please provide feedback on what works / doesn't[/li][li]not sure where to start? click here: faq581-3339[/li][/sup][/ul][/sup]
 
Further to the connection from OUTSIDE the LAN.

It's possible you might have to forward more ports than telnet port 23.

I just installed a telnet server on my machine to test, and it used 2 ports. (This may be a local issue on my machine tho'[smile])

Try putting the telnet PC in the DMZ (see router user manual) then getting your friend to connect over the internet (him connecting to your WAN IP).
DMZ means ALL connections forwarded to that machine; i.e. as though it were connected directly to the cable modem, as previously. Do this as a temporary measure - it's not the most secure way to do it!

Once you've done this, if you've established a successful connection with the server, open a dosprompt on the server and type &quot;netstat -a&quot;, which will give a list of active ports... the description may give you an indication of which other ports it uses.

Once you've got this info, take the server out of the DMZ, forward the additional ports you've found, then try to connect again.
<marc>[ul]help us help![li]please provide feedback on what works / doesn't[/li][li]not sure where to start? click here: faq581-3339[/li][/sup][/ul][/sup]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top