Omega
07-11-2002, 03:37 PM
I'm working behind an internet gateway with NAT (Apple AirPort), and I can't connect to my home FTP, which is behind another internet gateway with NAT (Nexland WaveBase). I do have TCP port 21 forwarded to the right LAN IP address for the FTP server. Other people can connect to the FTP server with complete functionality. I've tried using PORT and PASV mode. Everything works fine until it tries to LS the root directory. I can get in with Windows CLI ftp, but it times out when I do an LS there too. Here's the PORT log:
------------------
STATUS:> SPAM SPAM SPAM SPAM[07/11/2002 15:24:15] Getting listing ""...
STATUS:> SPAM SPAM SPAM SPAMResolving host name p14nd4.com...
STATUS:> SPAM SPAM SPAM SPAMHost name p14nd4.com resolved: ip = 24.145.188.247.
STATUS:> SPAM SPAM SPAM SPAMConnecting to ftp server p14nd4.com:21 (ip = 24.145.188.247)...
STATUS:> SPAM SPAM SPAM SPAMSocket connected. Waiting for welcome message...
SPAM SPAM SPAM SPAM SPAM SPAM220-Microsoft FTP Service
SPAM SPAM SPAM SPAM SPAM SPAM220 p14nd4's FTP Server
STATUS:> SPAM SPAM SPAM SPAMConnected. Authenticating...
COMMAND:> SPAM SPAM SPAMUSER anonymous
SPAM SPAM SPAM SPAM SPAM SPAM331 Anonymous access allowed, send identity (e-mail name) as password.
COMMAND:> SPAM SPAM SPAMPASS *****
SPAM SPAM SPAM SPAM SPAM SPAM230-Welcome to p14nd4's FTP server. Please help yourself to whatever you'd like. I would, however, appreciate it if you'd return the favor, and leave some good stuff with me (in the drop box).
SPAM SPAM SPAM SPAM SPAM SPAM230 Anonymous user logged in.
STATUS:> SPAM SPAM SPAM SPAMLogin successful.
COMMAND:> SPAM SPAM SPAMPWD
SPAM SPAM SPAM SPAM SPAM SPAM257 "/" is current directory.
STATUS:> SPAM SPAM SPAM SPAMHome directory: /
COMMAND:> SPAM SPAM SPAMFEAT
SPAM SPAM SPAM SPAM SPAM SPAM500 'FEAT': command not understood
STATUS:> SPAM SPAM SPAM SPAMThis site doesn't support the 'features' command.
COMMAND:> SPAM SPAM SPAMREST 100
SPAM SPAM SPAM SPAM SPAM SPAM350 Restarting at 100.
STATUS:> SPAM SPAM SPAM SPAMThis site can resume broken downloads.
COMMAND:> SPAM SPAM SPAMTYPE A
SPAM SPAM SPAM SPAM SPAM SPAM200 Type set to A.
COMMAND:> SPAM SPAM SPAMREST 0
SPAM SPAM SPAM SPAM SPAM SPAM350 Restarting at 0.
COMMAND:> SPAM SPAM SPAMPORT 10,0,1,2,4,12
SPAM SPAM SPAM SPAM SPAM SPAM200 PORT command successful.
COMMAND:> SPAM SPAM SPAMLIST
SPAM SPAM SPAM SPAM SPAM SPAM150 Opening ASCII mode data connection for /bin/ls.
ERROR:> SPAM SPAM SPAM SPAMTimeout.
ERROR:> SPAM SPAM SPAM SPAMFailed to establish data socket.
-------------------
And here's the PASV log:
-------------------
STATUS:> SPAM SPAM SPAM SPAM[07/11/2002 15:31:13] Getting listing ""...
STATUS:> SPAM SPAM SPAM SPAMResolving host name p14nd4.com...
STATUS:> SPAM SPAM SPAM SPAMHost name p14nd4.com resolved: ip = 24.145.188.247.
STATUS:> SPAM SPAM SPAM SPAMConnecting to ftp server p14nd4.com:21 (ip = 24.145.188.247)...
STATUS:> SPAM SPAM SPAM SPAMSocket connected. Waiting for welcome message...
SPAM SPAM SPAM SPAM SPAM SPAM220-Microsoft FTP Service
SPAM SPAM SPAM SPAM SPAM SPAM220 p14nd4's FTP Server
STATUS:> SPAM SPAM SPAM SPAMConnected. Authenticating...
COMMAND:> SPAM SPAM SPAMUSER anonymous
SPAM SPAM SPAM SPAM SPAM SPAM331 Anonymous access allowed, send identity (e-mail name) as password.
COMMAND:> SPAM SPAM SPAMPASS *****
SPAM SPAM SPAM SPAM SPAM SPAM230-Welcome to p14nd4's FTP server. Please help yourself to whatever you'd like. I would, however, appreciate it if you'd return the favor, and leave some good stuff with me (in the drop box).
SPAM SPAM SPAM SPAM SPAM SPAM230 Anonymous user logged in.
STATUS:> SPAM SPAM SPAM SPAMLogin successful.
COMMAND:> SPAM SPAM SPAMPWD
SPAM SPAM SPAM SPAM SPAM SPAM257 "/" is current directory.
STATUS:> SPAM SPAM SPAM SPAMHome directory: /
COMMAND:> SPAM SPAM SPAMFEAT
SPAM SPAM SPAM SPAM SPAM SPAM500 'FEAT': command not understood
STATUS:> SPAM SPAM SPAM SPAMThis site doesn't support the 'features' command.
COMMAND:> SPAM SPAM SPAMREST 100
SPAM SPAM SPAM SPAM SPAM SPAM350 Restarting at 100.
STATUS:> SPAM SPAM SPAM SPAMThis site can resume broken downloads.
COMMAND:> SPAM SPAM SPAMTYPE A
SPAM SPAM SPAM SPAM SPAM SPAM200 Type set to A.
COMMAND:> SPAM SPAM SPAMREST 0
SPAM SPAM SPAM SPAM SPAM SPAM350 Restarting at 0.
COMMAND:> SPAM SPAM SPAMPASV
SPAM SPAM SPAM SPAM SPAM SPAM227 Entering Passive Mode (192,168,0,21,13,53).
COMMAND:> SPAM SPAM SPAMLIST
STATUS:> SPAM SPAM SPAM SPAMConnecting ftp data socket 192.168.0.21:3381...
ERROR:> SPAM SPAM SPAM SPAMCan't connect to remote server. Socket error = #10060.
ERROR:> SPAM SPAM SPAM SPAMFailed to establish data socket.
-------------------
I've also had this problem connecting from behind the Nexland Wavebase to another FTP server behind a NAT router, but I could connect fine from the box that was directly connected to the internet, running ICS (I'm not running ICS any more).
I can connect to other FTP servers (the setup of which I don't know) just fine.
Any ideas what's wrong, and/or how to resolve the issue?
------------------
STATUS:> SPAM SPAM SPAM SPAM[07/11/2002 15:24:15] Getting listing ""...
STATUS:> SPAM SPAM SPAM SPAMResolving host name p14nd4.com...
STATUS:> SPAM SPAM SPAM SPAMHost name p14nd4.com resolved: ip = 24.145.188.247.
STATUS:> SPAM SPAM SPAM SPAMConnecting to ftp server p14nd4.com:21 (ip = 24.145.188.247)...
STATUS:> SPAM SPAM SPAM SPAMSocket connected. Waiting for welcome message...
SPAM SPAM SPAM SPAM SPAM SPAM220-Microsoft FTP Service
SPAM SPAM SPAM SPAM SPAM SPAM220 p14nd4's FTP Server
STATUS:> SPAM SPAM SPAM SPAMConnected. Authenticating...
COMMAND:> SPAM SPAM SPAMUSER anonymous
SPAM SPAM SPAM SPAM SPAM SPAM331 Anonymous access allowed, send identity (e-mail name) as password.
COMMAND:> SPAM SPAM SPAMPASS *****
SPAM SPAM SPAM SPAM SPAM SPAM230-Welcome to p14nd4's FTP server. Please help yourself to whatever you'd like. I would, however, appreciate it if you'd return the favor, and leave some good stuff with me (in the drop box).
SPAM SPAM SPAM SPAM SPAM SPAM230 Anonymous user logged in.
STATUS:> SPAM SPAM SPAM SPAMLogin successful.
COMMAND:> SPAM SPAM SPAMPWD
SPAM SPAM SPAM SPAM SPAM SPAM257 "/" is current directory.
STATUS:> SPAM SPAM SPAM SPAMHome directory: /
COMMAND:> SPAM SPAM SPAMFEAT
SPAM SPAM SPAM SPAM SPAM SPAM500 'FEAT': command not understood
STATUS:> SPAM SPAM SPAM SPAMThis site doesn't support the 'features' command.
COMMAND:> SPAM SPAM SPAMREST 100
SPAM SPAM SPAM SPAM SPAM SPAM350 Restarting at 100.
STATUS:> SPAM SPAM SPAM SPAMThis site can resume broken downloads.
COMMAND:> SPAM SPAM SPAMTYPE A
SPAM SPAM SPAM SPAM SPAM SPAM200 Type set to A.
COMMAND:> SPAM SPAM SPAMREST 0
SPAM SPAM SPAM SPAM SPAM SPAM350 Restarting at 0.
COMMAND:> SPAM SPAM SPAMPORT 10,0,1,2,4,12
SPAM SPAM SPAM SPAM SPAM SPAM200 PORT command successful.
COMMAND:> SPAM SPAM SPAMLIST
SPAM SPAM SPAM SPAM SPAM SPAM150 Opening ASCII mode data connection for /bin/ls.
ERROR:> SPAM SPAM SPAM SPAMTimeout.
ERROR:> SPAM SPAM SPAM SPAMFailed to establish data socket.
-------------------
And here's the PASV log:
-------------------
STATUS:> SPAM SPAM SPAM SPAM[07/11/2002 15:31:13] Getting listing ""...
STATUS:> SPAM SPAM SPAM SPAMResolving host name p14nd4.com...
STATUS:> SPAM SPAM SPAM SPAMHost name p14nd4.com resolved: ip = 24.145.188.247.
STATUS:> SPAM SPAM SPAM SPAMConnecting to ftp server p14nd4.com:21 (ip = 24.145.188.247)...
STATUS:> SPAM SPAM SPAM SPAMSocket connected. Waiting for welcome message...
SPAM SPAM SPAM SPAM SPAM SPAM220-Microsoft FTP Service
SPAM SPAM SPAM SPAM SPAM SPAM220 p14nd4's FTP Server
STATUS:> SPAM SPAM SPAM SPAMConnected. Authenticating...
COMMAND:> SPAM SPAM SPAMUSER anonymous
SPAM SPAM SPAM SPAM SPAM SPAM331 Anonymous access allowed, send identity (e-mail name) as password.
COMMAND:> SPAM SPAM SPAMPASS *****
SPAM SPAM SPAM SPAM SPAM SPAM230-Welcome to p14nd4's FTP server. Please help yourself to whatever you'd like. I would, however, appreciate it if you'd return the favor, and leave some good stuff with me (in the drop box).
SPAM SPAM SPAM SPAM SPAM SPAM230 Anonymous user logged in.
STATUS:> SPAM SPAM SPAM SPAMLogin successful.
COMMAND:> SPAM SPAM SPAMPWD
SPAM SPAM SPAM SPAM SPAM SPAM257 "/" is current directory.
STATUS:> SPAM SPAM SPAM SPAMHome directory: /
COMMAND:> SPAM SPAM SPAMFEAT
SPAM SPAM SPAM SPAM SPAM SPAM500 'FEAT': command not understood
STATUS:> SPAM SPAM SPAM SPAMThis site doesn't support the 'features' command.
COMMAND:> SPAM SPAM SPAMREST 100
SPAM SPAM SPAM SPAM SPAM SPAM350 Restarting at 100.
STATUS:> SPAM SPAM SPAM SPAMThis site can resume broken downloads.
COMMAND:> SPAM SPAM SPAMTYPE A
SPAM SPAM SPAM SPAM SPAM SPAM200 Type set to A.
COMMAND:> SPAM SPAM SPAMREST 0
SPAM SPAM SPAM SPAM SPAM SPAM350 Restarting at 0.
COMMAND:> SPAM SPAM SPAMPASV
SPAM SPAM SPAM SPAM SPAM SPAM227 Entering Passive Mode (192,168,0,21,13,53).
COMMAND:> SPAM SPAM SPAMLIST
STATUS:> SPAM SPAM SPAM SPAMConnecting ftp data socket 192.168.0.21:3381...
ERROR:> SPAM SPAM SPAM SPAMCan't connect to remote server. Socket error = #10060.
ERROR:> SPAM SPAM SPAM SPAMFailed to establish data socket.
-------------------
I've also had this problem connecting from behind the Nexland Wavebase to another FTP server behind a NAT router, but I could connect fine from the box that was directly connected to the internet, running ICS (I'm not running ICS any more).
I can connect to other FTP servers (the setup of which I don't know) just fine.
Any ideas what's wrong, and/or how to resolve the issue?