Can only connect to anonymous ftp..

calyco

Senior member
Oct 7, 2004
825
1
81
When I try to connect to ftp sites that have a different port other than 21 I am unable to connect, it hangs on "Entering passive mode". Ive tried turning passive off too but no luck. What could be causing this? I am running Ubuntu Warty, Firestarter, using Nautilus/GFTP/KBear (same results from all three) and behind a D-Link 624 Router.
 

Wyck

Senior member
Jun 13, 2001
940
0
0
It sounds like a firewall is only allowing outbound FTP through port 21. I'd look at firestarter first as I'm not sure the D-Link has that capability.
 

calyco

Senior member
Oct 7, 2004
825
1
81
ack.. now Im just stupid confused. I disabled firestarter to try to troubleshoot the problem, I was still unable to connect so I figured it was a problem with my d-link router. Then I tried connecting to another ftp port 444 and now it works..wtf :confused:
 

nweaver

Diamond Member
Jan 21, 2001
6,813
1
0
ftp uses port 21 to connect, and then changes ports for transfers. Your IPTables firewall (configured by Firestarter) was not allowing traffic through the other ports.

Passive FTP is supposed to be a workaround for firwewalled machines, but iirc it needs ports 20 and 21 opened for FTP. been a while since I have done this, and my memory is short. Sorry if this doesn't help