Out of curiosity I removed VSFTPD and tried installing WU-FTPD with the
advice I found at
http://www.landfield.com/wu-ftpd/mai.../Apr/0028.html
I used #apt-get source wu-ftpd
#./configure --disable-pasvip
then make and make install but had the same result trying to FTP through
the WAN IP. :-(
John Doe wrote:
> I am trying to set up an HTTP / FTP server on a spare box in my house. I
> am running a bare-bones Debian install (3.0) on an old P133 and doing
> all the configuration with Webmin and put it in the DMZ on my LinkSys
> router. HTTP is working fine; I have tried THTTPD and aolserver
> successfully. But I have a problem with FTP
>
> I have set up VSFTPD and can FTP from within the LAN on my SuSE box and
> the wife's XP box, but I can't make connections from 'outside.' FTP to
> the WAN IP or to my DynDNS domain get the error
>
> 425 Possible PASV port theft, cannot open data connection.
>
> A Google of the problem came up with a solution for WU-FTPD to compile
> WITHOUT passive FTP, but wouldn't that cause problems for clients behind
> NAT routers?
>
> Any help would be appreciated.
>
> Here are a couple of samples of shell sessions on the SuSE machine.
>
> - - - - FTP TO DynDNS DOMAIN - - - - -
> dad@linux:~> ftp tosh.is-a-geek.com
> Connected to tosh.is-a-geek.com.
> 220 debian FTP server (Version wu-2.6.2(1) Thu Sep 4 13:31:49 UTC 2003)
> ready.
> Name (tosh.is-a-geek.com:dad): dad
> 331 Password required for dad.
> Password:
> 230 User dad logged in.
> Remote system type is UNIX.
> Using binary mode to transfer files.
> ftp> ls
> 500 'EPSV': command not understood.
> 227 Entering Passive Mode (192,168,1,103,61,75)
> 425 Possible PASV port theft, cannot open data connection.
> ftp> quit
> 221-You have transferred 0 bytes in 0 files.
> 221-Total traffic for this session was 470 bytes in 0 transfers.
> 221-Thank you for using the FTP service on debian.
> 221 Goodbye.
>
>
> - - - FTP TO WAN IP - - - -
> dad@linux:~> ftp 69.158.62.57
> Connected to 69.158.62.57.
> 220 debian FTP server (Version wu-2.6.2(1) Thu Sep 4 13:31:49 UTC 2003)
> ready.
> Name (69.158.62.57:dad): dad
> 331 Password required for dad.
> Password:
> 230 User dad logged in.
> Remote system type is UNIX.
> Using binary mode to transfer files.
> ftp> ls
> 500 'EPSV': command not understood.
> 227 Entering Passive Mode (192,168,1,103,115,240)
> 425 Possible PASV port theft, cannot open data connection.
> ftp> quit
> 221-You have transferred 0 bytes in 0 files.
> 221-Total traffic for this session was 472 bytes in 0 transfers.
> 221-Thank you for using the FTP service on debian.
> 221 Goodbye.
>
> - - - FTP TO LAN IP - - - - -
> dad@linux:~> ftp 192.168.1.103
> Connected to 192.168.1.103.
> 220 debian FTP server (Version wu-2.6.2(1) Thu Sep 4 13:31:49 UTC 2003)
> ready.
> Name (192.168.1.103:dad): dad
> 331 Password required for dad.
> Password:
> 230 User dad logged in.
> Remote system type is UNIX.
> Using binary mode to transfer files.
> ftp> ls
> 500 'EPSV': command not understood.
> 227 Entering Passive Mode (192,168,1,103,11,171)
> 150 Opening ASCII mode data connection for /bin/ls.
> total 12
> -rw------- 1 dad dad 82 Oct 2 12:52 .bash_history
> -rw-r--r-- 1 dad dad 509 Sep 30 19:28 .bash_profile
> -rw-r--r-- 1 dad dad 1093 Sep 30 19:28 .bashrc
> 226 Transfer complete.
> ftp> quit
> 221-You have transferred 0 bytes in 0 files.
> 221-Total traffic for this session was 703 bytes in 1 transfers.
> 221-Thank you for using the FTP service on debian.
> 221 Goodbye.