I've enabled the FTP server. Checked FTP access for my shared folder. And port forwarded both port 20 & 21 to the NAS. Below is the response I get when accessing from outside my lan. Inside the lan works fine. Any ideas?
Connecting to **.***.***.***:21...
Status: Connection established, waiting for welcome message...
Response: 220 192.168.0.99 FTP server ready
Command: USER keith
Response: 331 Password required for keith.
Command: PASS *********
Response: 230 User keith logged in.
Command: SYST
Response: 215 UNIX Type: L8
Command: FEAT
Response: 211-Features:
Response: MDTM
Response: REST STREAM
Response: SIZE
Response: 211 End
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is current directory.
Command: TYPE I
Response: 200 Type set to I
Command: PASV
Error: Connection timed out
Error: Failed to retrieve directory listing
Ensure you have "ftp" ticked for the particular shared folder you want to access. The service seems to setup correctly since its working from your LAN, since its not working from the WAN ensure you have the ports forwarded correctly to the local IP of the linkstation. (which does not seem to be the case)
You can check this using http://www.canyouseeme.org/ (this will only tell you if the ports are open but not to a specific internal IP)
I have verified that "FTP" is ticked for the shared folder that I'm wanting to access. Also, in the above log, after it connects to the public IP address, you can then see the local ip, which I use to access it within my lan with no problem.
The only thing is the LS does not know if it is being connected to from inside you LAN or externally from the LAN. The fact that it is working from the LAN indicates the LS is setup correctly. It does definetaly seem to be an issue with the port forwarding. What it is exactly, im not 100% sure :(
I am really at a loss here. Does anyone have any other suggestions. I double and triple checked that port forwarding is setup for port 21 to the ip of the NAS. It's enabled just like port 9000 to the NAS. This is a Linksys cable modem/router. Firewall is turned off. As you can see in the above log, I get connected/authenticated via FTP, but it times out while waiting for the directory listing. I've tried connecting through FTP via Internet Explorer and FileZilla. Any help would be greatly appreciated.
I have an older terastation that has this problem too. It seems to be a PASV issue. I have several FTP clients and the one that does not issue the PASV works fine externally. Anything that issues PASV command seems to get disconnected immediately. I have been looking for a solution for this for quite some time. Let me know if anyone figures this out.
Browser ID: smf
(is_webkit)
Templates: 1:
Printpage (default).
Sub templates: 4:
init,
print_above,
main,
print_below.
Language files: 1:
index+Modifications.english (default).
Style sheets: 0:
.
Hooks called: 70 (
showintegrate_autoload, integrate_pre_load, integrate_load_session, integrate_verify_user, integrate_pre_load_theme, integrate_user_info, integrate_load_board, integrate_board_info, integrate_pre_load_theme, integrate_allowed_to_general, integrate_simple_actions, integrate_allowed_to_general, integrate_load_theme, integrate_pre_log_stats, integrate_actions, integrate_word_censor, integrate_word_censor, integrate_pre_parsebbc, integrate_bbc_codes, integrate_bbc_print, integrate_post_parsebbc, integrate_word_censor, integrate_word_censor, integrate_pre_parsebbc, integrate_bbc_print, integrate_post_parsebbc, integrate_word_censor, integrate_word_censor, integrate_pre_parsebbc, integrate_bbc_print, integrate_post_parsebbc, integrate_word_censor, integrate_word_censor, integrate_pre_parsebbc, integrate_bbc_print, integrate_post_parsebbc, integrate_word_censor, integrate_word_censor, integrate_pre_parsebbc, integrate_bbc_print, integrate_post_parsebbc, integrate_word_censor, integrate_word_censor, integrate_pre_parsebbc, integrate_bbc_print, integrate_post_parsebbc, integrate_pre_parsebbc, integrate_smileys, integrate_smileys, integrate_post_parsebbc, integrate_pre_parsebbc, integrate_smileys, integrate_smileys, integrate_post_parsebbc, integrate_allowed_to_general, integrate_allowed_to_general, integrate_allowed_to_general, integrate_allowed_to_general, integrate_allowed_to_general, integrate_allowed_to_general, integrate_allowed_to_general, integrate_allowed_to_general, integrate_allowed_to_general, integrate_allowed_to_general, integrate_menu_buttons, integrate_current_action, integrate_theme_context, integrate_allowed_to_general, integrate_allowed_to_general, integrate_allowed_to_general)
Files included: 27 - 1055KB. (
show./index.php, ./Settings.php, (Cache)/db_last_error.php, (Sources)/QueryString.php, (Sources)/Subs.php, (Sources)/Subs-Auth.php, (Sources)/Errors.php, (Sources)/Load.php, (Sources)/Security.php, (Sources)/Subs-Compat.php, (Sources)/Subs-Db-mysql.php, (Sources)/Cache/CacheApi.php, (Sources)/Cache/CacheApiInterface.php, (Sources)/StopForumSpam.php, (Sources)/Subs-Charset.php, (Sources)/Unicode/Metadata.php, (Sources)/Unicode/QuickCheck.php, (Sources)/Session.php, (Sources)/Logging.php, (Sources)/Class-BrowserDetect.php, (Sources)/Unicode/RegularExpressions.php, (Sources)/Unicode/CaseUpper.php, (Sources)/Unicode/CaseTitle.php, (Current Theme)/languages/index.english.php, (Current Theme)/languages/Modifications.english.php, (Sources)/Printpage.php, (Current Theme)/Printpage.template.php)
Memory used: 735KB.
Tokens:
post-login.
Queries used: 10.
[Show Queries]