Koozali.org: home of the SME Server

ftp: 425 can't build data conection

carlos

ftp: 425 can't build data conection
« on: November 11, 2002, 02:34:34 PM »
hi all,
yesterday i activated the ftp on my site. (remote access/ftp public,normal usage)
but when i tried to get into, my ftp client said:
"connecting to my_public_ip:21
Connected to my_public_ip port 21
[104] from my_pc_ip port 1243
220 ServerName FTP server ready.
USER myUser
331 Password required for myUser.
PASS (hidden)
230 User myUser logged in.
PWD
257 "/" is current directory.
SYST
215 UNIX Type: L8
Host type (S): UNIX (standard)
PORT my_pc_ip,4,220
200 PORT command successful.
LIST
425 Can't build data connection: Connection refused
! Retrieve of folder listing failed (0)"

The ftp server (e-smith 4.1.2) is on a masquerade net, behind a firewall.
If i try to connect from the local net (where the e-smith is) i can connect
without any problem.
I tried to connect in passive mode, but no way.
I opened and redirect the 20,21 ports to the e-smith (in the firewall), but no way.
I tried many things, but i got no idea....

Many thx in advance.
and many many thanks to all the e-smith people. Keep it open source!!

Nathan Fowler

Re: ftp: 425 can't build data conection
« Reply #1 on: November 12, 2002, 07:49:15 PM »
Try using FlashFXP or look in your client's FTP program for an option that states "Site uses NAT" or "Site uses Firewall".  Don't enable PASV, just use the mentioned options.  Note the mentioned options aren't synonymous with PASV.

I know FlashFXP has this option, CuteFTP and the other popular FTP clients probably have something along these lines as well.

Hope this helped,
Nathan