x
all questions login
General DNS & Domains Dyn Email Update Clients

TELNET/SSH Problem

I have signed up and setup every thing today only. I have not achieved my goal.

MY set up. ADSL MODEM (UTSTARCOM 3002 - g1) ---> 5 port switch ---> One PC with 2 Ethernet cards. In my PC i have installed an emulator software for a server which will accept only telnet or SSH connection alone.

LOCAL IP Information:
XP -- 192.168.1.33
ALPHA Server -- 192.168.1.39

Everything works fine in LAN. Telnet 192.168.1.39 , SSH 192.168.1.39 everything is successful. even FTP works fine. I signed up with you and got the Hostname, which made me feel very happy :). Thanks for that. Now my goal is to telnet to this server from outside network.

Actions Done:
Forwarded ports : 21,22,23 for FTP,SSH and telnet.
Verified that everything is opened using OPEN PORT TOOL.

Now when i try to do

telnet host name or TELNET WAN IP it takes me to the UTSTARCOM configuration console.
And SSH host name or SSH WAN IP jus don anything.

I know im missing something. I need to change some setting so that if any telnet request comes then UTSTARCOM should be blindly send it to the ipaddres 192.168.1.39. Please advice me. If there is any setting to get this done.

more ▼

asked Feb 14 '10 at 10:56 PM in Default

Joslovefun gravatar image

Joslovefun
1 1 2 3

Joslovefun gravatar image Joslovefun Feb 14 '10 at 10:57 PM

Please give me your advices to get this done. Thanks :)

(comments are locked)
10|600 characters needed characters left

4 answers: sort voted first

First of all, the UTStarcom WA3002-g1 is not a modem, but a router, with a NAT function. That means that you have to forward the relevant ports from the router to your server (192.168.1.39).

For general guidance on the entire process of getting up and running, consider reading the following:

And, more specifically, you may want to read the following guide on PortForward.com:

Remember to test from outside your network. Your router may not map the ports for loopback connections (connections to the public IP originating from local devices), and consequently using the hostname and/or public IP from within your LAN may not work as expected.

By the way, I really recommend against using telnet to access your server. It is a horribly insecure protocol. FTP is not only insecure, but quite quarrelsome behind a NAT router. You can do everything you wish with SSH. Remote terminal access, as with telnet, and remote file access (SFTP) -- only a lot more secure.

more ▼

answered Feb 14 '10 at 11:37 PM

VikingTiger gravatar image

VikingTiger ♦
11.7k 2 10 127

Joslovefun gravatar image Joslovefun Feb 15 '10 at 12:47 AM

Many thanks for you reply.

I have read all the three guidance. and followed the the steps mentioned in there already.

As you said i removed Port 23 and port 21 for telnet and FTP.

Now for port 22. Im verifying in open port tool, it says the port is opened. But when ever i try to connect via SSH

ssh host_name

It says, connection timed out. And im not getting any request on my server.

Rule Application Start Port End Port Local IP Address 1 SSH 22 22 192.168.1.39

Anything else i can do??

(comments are locked)
10|600 characters needed characters left

To answer the follow-up question:

Many thanks for your reply. I have read all the three guides, and followed the steps mentioned in there already. As per your suggestion, I removed port 23 and port 21 for telnet and FTP. Now for port 22. I'm verifying in open port tool, it says the port is open. But whenever I try to connect via SSH
ssh host_name
...it says "connection timed out". And I'm not getting any request on my server.

Rule Application Start Port End Port Local IP Address
1    SSH         22         22       192.168.1.39
Anything else I can do??
  1. Are you testing from outside your network?
  2. Have you tried using your WAN IP address instead of the hostname when connecting?
  3. Please try running the commands Cry Havok mentioned (and tell us about the results), if you're running a UNIX based operating system on the SSH server.
more ▼

answered Feb 15 '10 at 08:52 PM

VikingTiger gravatar image

VikingTiger ♦
11.7k 2 10 127

(comments are locked)
10|600 characters needed characters left

So, if you run the following commands on your SSH server, what do you get:

netstat -pant|egrep :22  
iptables -L -v -n  
egrep ssh /etc/hosts.*
more ▼

answered Feb 15 '10 at 01:58 PM

Cry Havok gravatar image

Cry Havok ♦
79.2k 14 28 279

(comments are locked)
10|600 characters needed characters left

I have the same problem. Port is listed as open, yet cannot connect from outside the network. Really frustrating it is.

more ▼

answered Feb 15 '10 at 06:33 AM

faraway gravatar image

faraway
26 2

Cry Havok gravatar image Cry Havok ♦ Feb 15 '10 at 07:02 AM

Can you keep answering the questions on your open thread then please and we'll help you solve your problem. If you stop answering we can't help you.

(comments are locked)
10|600 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

© 1998-2013  Dynamic Network Services Inc.  -  Legal Notices  -  Privacy Policy  -  Contacts