External access to FTP server :(

imported_Ned Flanders

Senior member
May 11, 2005
641
0
0
Does anyone know what I'm doing wrong - I have forwarded port 2121 for the server (just incase this Italian ISP blocks port 21) and used the following config file:

ftpd_banner=NSLU2 FTP Server

listen=YES
listen_port=2121
#connect_from_port_20=YES

hide_ids=YES
max_clients=5
max_per_ip=2

anonymous_enable=NO
local_enable=YES
ftp_data_port=2121


Internal access (i.e 192.168.1.9) is fine, but I keep getting when connecting externally:

Status: Resolving IP-Address for <blah>panther.<blah>.net
Status: Connecting to xxx.xx.xxx.xx:2121
Error: Could not connect to server

Any advice would be welcomed, especially if it is related to my question
 

Goosemaster

Lifer
Apr 10, 2001
48,775
3
81
regardign the external:

can you access other services based on your DNS name?

Can you access the server based on IP?
 

imported_Ned Flanders

Senior member
May 11, 2005
641
0
0
I have to other services running which I want to access externally so I cannot test. I can ping the address (DNS and IP) so it exists!

I have an update to the situation anyway:

After fiddling with some settings I can connect to the server, but as the client requests a directory list it times out. Looking at the log (which I dont have with me...this is from memory) it requests the dir list from the server's internal IP (192.168.1.9) instead of the external router IP (xxx.xxx.xxx.xxx / <xxx>panther.com) - Any idea why / how the FTP client would get hold of this information!? Also, this happens as soon as the FTP client goes into passive mode.

Thanks.