Koozali.org: home of the SME Server

can't access my ftp from outside local network

Ben

can't access my ftp from outside local network
« on: September 18, 2003, 06:26:59 PM »
Hello

before hand, here are the setups in server-manager for sme:
FTP user account access: public
FTP Access limits: Normal Usage

I can access the FTP server through a user account with no problem when
using the local name "server" for example, but impossible to connect through
mydomain.com , => not accessible from outside, i've had friends try from external
network to connect, gave the same error.

I did open the ports in my router to go to the sme server, it does try to connect but here's the error:

STATUS:>     Login successful.
COMMAND:>   PWD
      257 "/users/username" is current directory.
STATUS:>     Home directory: /users/username
COMMAND:>   FEAT
      500 FEAT not understood.
STATUS:>     This site doesn't support the 'features' command.
COMMAND:>   REST 100
      350 Restarting at 100. Send STORE or RETRIEVE to initiate transfer.
STATUS:>     This site can resume broken downloads.
COMMAND:>   TYPE A
      200 Type set to A.
COMMAND:>   PORT 192,168,2,16,12,7
      500 Illegal PORT command.
ERROR:>      Syntax error, command unrecognized.
ERROR:>      Failed to establish data socket.

Anyone can help me on that one? i really do not know what to do...

Thanks in advance.

Bill

Re: can't access my ftp from outside local network
« Reply #1 on: September 18, 2003, 06:52:59 PM »
It could be a ftp client issue but more likely is that you need to set passive mode on your client. You can try forwarding both ports 20 and 21 and see if that fixes it.

Ben

Re: can't access my ftp from outside local network
« Reply #2 on: September 18, 2003, 08:34:23 PM »
thanks bill,
i did forget about the PASV mode, i use a client and did put it, now i don't
get this error, but i get the following when trying from outside the network:

 COMMAND:>PASV
 227 Entering Passive Mode (192,168,2,4,128,117).
 COMMAND:>LIST
 STATUS:>  Connecting ftp data socket 192.168.2.4:32885...
 ERROR:>   Can't connect to remote server. Socket error = #10065.
 ERROR:>   Failed to establish data socket.


apparently that error 10065 means it does not find a route to the server,
but it does as the server actually logs in the username and password and accepts
it right before.

I did forward both port 20 and 21 to my server local ip from my router...

Any clue about this new error it gives me?

Thanks in advance