PDA

View Full Version : bind to external ip problem


rygar
10-18-2002, 09:57 PM
i am using the latest version of flashfxp (2.0 build 900) [shareware]

i have trouble connecting to some ftps because I am at college behind a firewall... most ftps either require i have pasv mode enabled or require that i have it disabled. a handful of them don't work either way though.

i figured out the problem was that when it was trying to open the port for a directory listing, it was using my local ip address in the PORT command. so if i tell FlashFXP to use my external IP, it uses the right IP in the PORT command.

the problem is, this FTP still work. it still freezes at opening port for directory listing, and i'm pretty sure that it's because i'm not in passive mode. however, if i try enabling passive mode, it says

PASV
227 Entering Passive Mode (192,168,0,2,121,111).

which is definitely wrong. that's not even my local ip :-/ shouldn't that be the address i put into 'bind external ip'? it's not. how can i fix this?

rygar
10-18-2002, 10:05 PM
and i am using windows xp professional

bigstar
10-18-2002, 10:39 PM
Bind to external IP only works with PORT.


PASV mode is up to the ftp server, the ftp server is sending the wrong IP address. have no fear though FlashFXP has an option to get around it, you need to check "Site uses IP Masq/NAT/Non-Routable IP" in the Site Manager / Options Tab.

rygar
10-18-2002, 10:45 PM
i already tried that, but i still get

PASV
227 Entering Passive Mode (192,168,0,2,66,39).


:(

any other ideas?

bigstar
10-18-2002, 11:34 PM
of course it's still going to say that, but FlashFXP will connect to the ip of the original connection and not the ip provided by the PASV reply.

If it still doesn't work then the site isn't configured properly for PASV mode.

rygar
10-18-2002, 11:38 PM
...but i know that other users can connect using passive mode (users who are not behind the same firewall as me).

any other suggestions? or perhaps it's just impossible to connect from behind my firewall (i don't know why)?

rygar
10-18-2002, 11:49 PM
now im getting this error (passive mode on, ip masq on, external ip on):

PASV
227 Entering Passive Mode (192,168,0,2,224,84).
Data Socket Error: Connection refused


but like i said, it works for other users in passive mode. any ideas?

bigstar
10-19-2002, 12:14 AM
nope no clue sorry. If it works for others then it should work for you too.

rygar
10-19-2002, 12:26 AM
oh well, thanks anyway :(

MxxCon
10-19-2002, 02:01 AM
either you or your server need to configure their firewalls properly.
refer to this site http://slacksite.com/other/ftp.html if you want to know exactly what's going on..

rygar
10-19-2002, 03:16 AM
welp, the server doesn't run a firewall, and my firewall is the same firewall shared by 40,000 other students at my University, so i cant really change that.

i guess im out of luck, eh?

MxxCon
10-19-2002, 12:52 PM
well, maybe not "firewall" but perhaps some other sort of NAT.
your best chance is to contact siteop and inform them that their site is misconfigured