Problems with FTP from the outside

Got problems with your B2 or B3? Share and get helped!
Post Reply
rewien
Posts: 127
Joined: 27 Sep 2008, 18:10

Problems with FTP from the outside

Post by rewien » 07 Dec 2008, 11:47

Hello All,

I'm having some problems with FTP, when I try to access bubbtwo from outside.

I'm using Fillezilla FTP Client to access Bubba two and Am getting error:

"530 Login incorrect."


When I use the same data " my username & paswoord" I'm able to access bubba Two with the FTP Client In my home network.

I think the error is at
host


At home I type for host:
Bubba
But to reach from the ouside:
name.bubbaserver.com
Can some one help me out?

Thanks a lot,
Rewien

ian
Posts: 128
Joined: 30 Jul 2007, 09:07

Post by ian » 07 Dec 2008, 13:30

To reach your bubba from outside your home, you'll have to use your public IP address rather than name.bubbaserver.com.ie. my IP address is 81.xyz.xyz.xyz, so when I fill in the FTP server name, this is what I use.

I hope this helps...

rewien
Posts: 127
Joined: 27 Sep 2008, 18:10

Post by rewien » 07 Dec 2008, 15:41

ian wrote:To reach your bubba from outside your home, you'll have to use your public IP address rather than name.bubbaserver.com.ie. my IP address is 81.xyz.xyz.xyz, so when I fill in the FTP server name, this is what I use.

I hope this helps...
Hello Ian,

It gives me eror:
Status: Connecting with 62.xyz.xyz.xyz:21...
Status: Connected, waiting for welcome message...
Answer: 220 ProFTPD 1.3.0 Server (server) [::ffff:192.xyz.xyz.xyz]
Command: USER rewien
Answer: 331 Password required for rewien.
Command: PASS **********
Answer: 230 User rewien logged in.
Command: SYST
Answer: 215 UNIX Type: L8
Command: FEAT
Answer: 211-Features:
Answer: MDTM
Answer: REST STREAM
Answer: SIZE
Answer: 211 End
Status: connected
Status: Getting maplist...
Command: PWD
Answer: 257 "/rewien" is current directory.
Command: TYPE I
Answer: 200 Type set to I
Command: PASV
Answer: 227 Entering Passive Mode (192,xyz,xyz,xyz,xyz,206).
Status: Server generated een passief answer with a nontraceble adres. Use server adres instead.
Commando: LIST
Error: Connection lost
Error: Receiving maplist failed


Any Idea why the connection fails?

Thanks, Rewien

ian
Posts: 128
Joined: 30 Jul 2007, 09:07

Post by ian » 08 Dec 2008, 03:08

I had a similar problem connecting to my bubba one from outside using my mobile phone; this was eventually solved by setting the mode to active rather than passive. Maybe that's the problem here...?

Hape
Posts: 53
Joined: 01 Nov 2008, 11:21

Post by Hape » 09 Dec 2008, 14:54

Look carefully at the reply :
Answer: 227 Entering Passive Mode (192,xyz,xyz,xyz,xyz,206).

It's the local IP , in the private address space which is non-routable.

With PASV the FTP server 'asks' the client to connect back to *this* address.

Google on "pasv ftp firewall" and you will get loads (and loads..) of info.

One of the links is:
http://www.ncftp.com/ncftpd/doc/misc/ft ... walls.html

rgds

rewien
Posts: 127
Joined: 27 Sep 2008, 18:10

Post by rewien » 26 Dec 2008, 10:09

Hape wrote:Look carefully at the reply :
Answer: 227 Entering Passive Mode (192,xyz,xyz,xyz,xyz,206).

It's the local IP , in the private address space which is non-routable.

With PASV the FTP server 'asks' the client to connect back to *this* address.

Google on "pasv ftp firewall" and you will get loads (and loads..) of info.

One of the links is:
http://www.ncftp.com/ncftpd/doc/misc/ft ... walls.html

rgds
Thanks Hape,

Does it mean that my firewall is blokking the ftp from outside?
I couldn't finf how to put fillezilla in non pasv mode

Hape
Posts: 53
Joined: 01 Nov 2008, 11:21

Post by Hape » 31 Dec 2008, 17:14

No, your FTP server is providing its internal (private) address to the external client. The client cannot reach such addresses over the internet as the range 192.168.x.x is limited to private use (i.e. only used on private [intra-]networks)

There are several ways to overcome this problem, but all are far beyond the scope of this forum.
The link provided should give you at least some clues, but you could also try finding more on the internet by searching for "ftp (server) behind firewall" .

Be prepared to absorb a LOT of information, as mastering networking is a study on itself.

Kind regards,

Hape

Post Reply