connection proboems.
-
- New here
- Posts: 9
- Joined: Tue Sep 04, 2007 10:40 am
connection proboems.
I have problem setting up or connecting to the ftp in my 109pro from outside network / internet.
I have tried using winSCP with prot #.22 (Remote Login is set to port #.22 too). Popped up error message shows below;
Command 'groups'
failed with return code 127 and error message
-sh: line 31: groups: command not found.
I failed to login from IE7 with my ddns domain and also direct IP input too.
I have tried using winSCP with prot #.22 (Remote Login is set to port #.22 too). Popped up error message shows below;
Command 'groups'
failed with return code 127 and error message
-sh: line 31: groups: command not found.
I failed to login from IE7 with my ddns domain and also direct IP input too.
NAS: QNAP TS-109 Pro
firmware version: 1.1.3 Build 1030T
firmware version: 1.1.3 Build 1030T
- kent
- QNAP Staff
- Posts: 198
- Joined: Fri Aug 31, 2007 5:21 pm
- Location: Taipei, Taiwan
Hi,
I think that SFTP in winSCP means SFTP using SSH2 (Secure Shell).
However, TS-109 is using FTP with TLS/SSL (the default port is 21).
They are different.
I suggest to use another ftp client software, like FileZilla
I think that SFTP in winSCP means SFTP using SSH2 (Secure Shell).
However, TS-109 is using FTP with TLS/SSL (the default port is 21).
They are different.
I suggest to use another ftp client software, like FileZilla
Last edited by kent on Tue Sep 04, 2007 12:35 pm, edited 1 time in total.
I am Kent. Nice to meet you!
-
- New here
- Posts: 9
- Joined: Tue Sep 04, 2007 10:40 am
- kent
- QNAP Staff
- Posts: 198
- Joined: Fri Aug 31, 2007 5:21 pm
- Location: Taipei, Taiwan
Hi boriswong,
When you use filezilla to connect, please choose "ftp with SSL (explicit encryption) or ftp with TLS (explicit encryption)".
Also please make sure you already enabled "FTP with SSL/TLS (Explicit)" in the ftp service page.
This should be work in the local network. Can you try again?
When you use filezilla to connect, please choose "ftp with SSL (explicit encryption) or ftp with TLS (explicit encryption)".
Also please make sure you already enabled "FTP with SSL/TLS (Explicit)" in the ftp service page.
This should be work in the local network. Can you try again?
I am Kent. Nice to meet you!
-
- New here
- Posts: 9
- Joined: Tue Sep 04, 2007 10:40 am
Hi Kent,
Yes, i have it set to "FTP with SSL/TLS (Explicit)" in the ftp service page.
I have also used "ftp with SSL (Explicit encryption)" setting in FileZilla. The connection was stopped after i accepted the certification from my NAS.
I did not try to use the FTP client to connect to my NAS in local network but it works fine with HTTP in local network. I presume it will be fine with FTP client too.
However, the problem i have now is ftp connection thru the outside network / internet.
Yes, i have it set to "FTP with SSL/TLS (Explicit)" in the ftp service page.
I have also used "ftp with SSL (Explicit encryption)" setting in FileZilla. The connection was stopped after i accepted the certification from my NAS.
I did not try to use the FTP client to connect to my NAS in local network but it works fine with HTTP in local network. I presume it will be fine with FTP client too.
However, the problem i have now is ftp connection thru the outside network / internet.
NAS: QNAP TS-109 Pro
firmware version: 1.1.3 Build 1030T
firmware version: 1.1.3 Build 1030T
-
- Starting out
- Posts: 28
- Joined: Mon Sep 03, 2007 7:56 pm
Hello.
I don't know what conneccion you have... does your Nas has public routable IP adres? or are you using firewall with NAT and port forwarding?
second layout my need additional configuration on router/firewall (like for example ftp helper module loaded for linux router..etc)
Have you tried changing connetion mode between passive or active in your client? (if you are windows user you could try total commander ftp client (witch has both connection modes implemented)
I don't know what conneccion you have... does your Nas has public routable IP adres? or are you using firewall with NAT and port forwarding?
second layout my need additional configuration on router/firewall (like for example ftp helper module loaded for linux router..etc)
Have you tried changing connetion mode between passive or active in your client? (if you are windows user you could try total commander ftp client (witch has both connection modes implemented)
//
// Linux Power
//
// Linux Power
//
- nightyy
- Getting the hang of things
- Posts: 50
- Joined: Mon Sep 03, 2007 7:18 pm
I described the filezilla problems with the qnap nas here:
http://nachtrab.de/2007/08/28/qnap-ts-1 ... licit-tls/
http://nachtrab.de/2007/08/28/qnap-ts-1 ... licit-tls/
------------------------
Qnap TS-109, 1.1.4, Western Digital Caviar GP WD10EACS 1 TB
http://nachtrab.de/category/qnap-nas/
Qnap TS-109, 1.1.4, Western Digital Caviar GP WD10EACS 1 TB
http://nachtrab.de/category/qnap-nas/
-
- New here
- Posts: 9
- Joined: Tue Sep 04, 2007 10:40 am
madi2000,
Yes, my NAS is behind a NAT router. I have set the router to point port #.21 to the NAS. I did the same for port 8080 and i can connect to my NAS via DDNS domain from HTTP from internet.
Is the use of TCP and UDP in port forwarding a matter? i have opened the port #21 with TCP in my router. It may be a silly question but i am not familier with such networking technicals.
Error: Transfer channel can't be opened. Reason:
Error: Could not retrieve directory listing
Nightyy,
Thanks for the information. i tried FileZilla v3.0rc3 but failed. (i can only find rc3 instead of rc2 from the internet).
BTW, i have just updated my NAS fireware from 1.1.0 to 1.1.1 Build 0831T. Don't know if this will make any difference.
Yes, my NAS is behind a NAT router. I have set the router to point port #.21 to the NAS. I did the same for port 8080 and i can connect to my NAS via DDNS domain from HTTP from internet.
Is the use of TCP and UDP in port forwarding a matter? i have opened the port #21 with TCP in my router. It may be a silly question but i am not familier with such networking technicals.
Error: Transfer channel can't be opened. Reason:
Error: Could not retrieve directory listing
Nightyy,
Thanks for the information. i tried FileZilla v3.0rc3 but failed. (i can only find rc3 instead of rc2 from the internet).
BTW, i have just updated my NAS fireware from 1.1.0 to 1.1.1 Build 0831T. Don't know if this will make any difference.
NAS: QNAP TS-109 Pro
firmware version: 1.1.3 Build 1030T
firmware version: 1.1.3 Build 1030T
- kent
- QNAP Staff
- Posts: 198
- Joined: Fri Aug 31, 2007 5:21 pm
- Location: Taipei, Taiwan
To nightyy,
Many thanks for your matrix testing.
Actually, we are trying to enhance it for the FTP server behind NAT issue.
It means that you can use FileZilla 2.x to connect TS-109 server which behind NAT in future.
To boriswong,
Can you use FileZilla v3.0rc2 to connect again?
Many thanks for your matrix testing.
Actually, we are trying to enhance it for the FTP server behind NAT issue.
It means that you can use FileZilla 2.x to connect TS-109 server which behind NAT in future.
To boriswong,
Can you use FileZilla v3.0rc2 to connect again?
I am Kent. Nice to meet you!
-
- New here
- Posts: 9
- Joined: Tue Sep 04, 2007 10:40 am
Kent,
I cannot find filezilla v3.0rc2 but v3.0rc3. However, i still cannot to my NAS ftp with it. The connection was established though. But it was cut off again with the below two error messages
Error: Transfer channel can't be opened. Reason:
Error: Could not retrieve directory listing
I cannot find filezilla v3.0rc2 but v3.0rc3. However, i still cannot to my NAS ftp with it. The connection was established though. But it was cut off again with the below two error messages
Error: Transfer channel can't be opened. Reason:
Error: Could not retrieve directory listing
NAS: QNAP TS-109 Pro
firmware version: 1.1.3 Build 1030T
firmware version: 1.1.3 Build 1030T
- kent
- QNAP Staff
- Posts: 198
- Joined: Fri Aug 31, 2007 5:21 pm
- Location: Taipei, Taiwan
-
- Starting out
- Posts: 28
- Joined: Mon Sep 03, 2007 7:56 pm
Does your NAT auto trigger additional ports? FTP doesn't use 21 ONLY!!! it's communication start port but data can be retransfered on a diferent port (that's whay you get "Could not retrive directory listing"). You get connected (and everything is ok) but your NAT blocks data transfer.boriswong wrote:Error: Transfer channel can't be opened. Reason:
Error: Could not retrieve directory listing
If you use Active connection client you must open port 20 for FTP transfer too.
For passive connection ftp server opens port from >1023 range, and there must be ftp module helper on FIREWALL/ROUTER to recognize FTP session and open aproperiet port. (or you must have them all opend or some range - defined in ftp server also)
Try Active + port 20 forwarding.
UPDATE Ftp uses TCP only
UPDATE 2 I think you should open port 20 for your ftp and try the same way you did to recieve "Could not retrive directory listing" error msg.
//
// Linux Power
//
// Linux Power
//
- nightyy
- Getting the hang of things
- Posts: 50
- Joined: Mon Sep 03, 2007 7:18 pm
you can also try this one:
http://www.coreftp.com/
http://www.coreftp.com/
------------------------
Qnap TS-109, 1.1.4, Western Digital Caviar GP WD10EACS 1 TB
http://nachtrab.de/category/qnap-nas/
Qnap TS-109, 1.1.4, Western Digital Caviar GP WD10EACS 1 TB
http://nachtrab.de/category/qnap-nas/
-
- New here
- Posts: 9
- Joined: Tue Sep 04, 2007 10:40 am
i finally get the ftp client to work after i opened up the port #.20. Thanks to madi200 and others. FYI, I used the FileZilla V.3.0rc3.
However, i still cannot login to the my NAS FTP via HTTP page. I have tried the following but both failed.
1. ftp://[DDNS domain]
2. ftp://[actual IP]
Pls help.
However, i still cannot login to the my NAS FTP via HTTP page. I have tried the following but both failed.
1. ftp://[DDNS domain]
2. ftp://[actual IP]
Pls help.
NAS: QNAP TS-109 Pro
firmware version: 1.1.3 Build 1030T
firmware version: 1.1.3 Build 1030T
-
- Starting out
- Posts: 28
- Joined: Mon Sep 03, 2007 7:56 pm
I asume the problem is not user/password...then you problem lays most probably in your router/firewall... (send me what hardware do you use, i'll seek in it's manual a proper configuration for your needs).boriswong wrote: 1. ftp://[DDNS domain]
2. ftp://[actual IP]
Pls help.
to connect via browser you want to connect via passive mode ftp. (most browsers do it this way). to achieve passive connection you need
outside comp ---- firewall/router ---- [NAS]
(i want to connect) via port 21 -> [NAS]
outside comp <NAS> 1023)
(give data) outside comp via port XXXXX -> [NAS]
and now if you have only 21 port open and no FW/ROUTE helper module which understands FTP session and opens additional ports... you are unable to connect ...
give your FW/Route hardware name... i'll see what we can do
//
// Linux Power
//
// Linux Power
//