DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2008-11-20 19:14:14

Drlord
Member
Registered: 2008-11-20
Posts: 5

Problem of connection by TelNEt

Hello, I am French and I do not speak English very well thus watch to excuse me in advance for my English.

I have to install fun_plug 0.5 http://www.inreto.de/dns323/fun-plug/0.5/ and I would like to connect by telnet in my NAS.

https://images.guiks.net/img/1563894248telnet.JPG

I do not know how to become identified.
You can help me please.

I have to try to look for the answer on the wiki and on the forum but not to find sorry.

Offline

 

#2 2008-11-20 19:39:58

luusac
Member
Registered: 2008-04-29
Posts: 360

Re: Problem of connection by TelNEt

your screenshot shows that you are trying to connect to ftp via telnet?  Are you connecting on port 23?  Telnet runs on port 23, unless you have copnfigured it otherwise.
1. check in ffp.log in the root of your nas volume for the lines "Starting /ffp/sbin/telnetd -l /ffp/bin/sh" or "* /ffp/start/telnetd.sh ...", "Starting /ffp/sbin/telnetd" - then you know telnet is running
2. when you telnet in make sure you are connecting on port 23 e.g. telnet xxx.xxx.xxx.xxx 23 (where xxx is the ip address of your nas and 23 is the default port for telnet)

Last edited by luusac (2008-11-20 19:50:48)

Offline

 

#3 2008-11-20 19:55:23

Drlord
Member
Registered: 2008-11-20
Posts: 5

Re: Problem of connection by TelNEt

1. I indeed have " Starting / ffp / sbin / telnetd-l / ffp / bin / sh " in the ffp.log file.
2. My NAS is to connect to a router. And I indeed have to redirect the port 21 towards my NAS https://images.guiks.net/img/telnet1.JPG
Do I also have to redirect the port 23? becouse I use telnet xxx.xxx.xxx.xxx 21 for the moment

Last edited by Drlord (2008-11-20 20:20:10)

Offline

 

#4 2008-11-20 20:08:37

luusac
Member
Registered: 2008-04-29
Posts: 360

Re: Problem of connection by TelNEt

the normal port for telnet is 23, the normal port for ftp is 21.  So when telnet starts up it is waiting for connections on port 23.  You need to use that port to connect.  But as to port forwarding, are you sure that you need to forward the ports - you usually only need to do that if you are connecting via the internet (e.g. on the other side of your router, not on your home/work side of the router).  Try and not use the port forwarding feature, and connect on port 23.  Once that is working you can explore other things (tip: once everything is set up, if you do want to connect from the internet use something like ssh instead of telnet).

Offline

 

#5 2008-11-20 21:43:13

jesbo
Member
From: Falls Church, VA
Registered: 2008-08-28
Posts: 101

Re: Problem of connection by TelNEt

Also.. my advice: DO NOT allow telnet traffic to be forwarded from the internet to your NAS (via port forwarding on your router).  That is just asking for someone to access your NAS and trash it quickly.  If you need to access your NAS from the internet side of your router, implement ssh and strong authentication and forward that port through the router.


DNS-323 (H/W ver. B1) |  2 x 1 TB WD Caviar Black (Raid 1) | Corsair Flash Voyager - 16 GB USB | FW 1.08 | fun_plug 0.5

Offline

 

#6 2008-11-20 21:58:33

Drlord
Member
Registered: 2008-11-20
Posts: 5

Re: Problem of connection by TelNEt

Finally I manage to reach by telnet 198. XXX.XXX.XXX 23.
https://images.guiks.net/img/telnet2.JPG
Thank you louse helps him.

Now if I want to reach it of internet, you to advise me to use SSH, but I do not know how to use it?

Offline

 

#7 2008-11-20 22:19:20

luusac
Member
Registered: 2008-04-29
Posts: 360

Re: Problem of connection by TelNEt

search the forum for ssh and you will find lots of info on it.  But if you follow the how to: ffp on the wiki it will tell you how to enable ssh and disable telnet.  take jesbo's advice - don't allow telnet access from the internet, use ssh if you really need console access from the internet, also don't use ftp for the same reason (it is insecure).

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB