FTP server behind router

Trevante

Senior member
Jul 13, 2005
227
0
0
Ok, well basically, my situation is that I want to setup an ftp server on my comptuer at home so I can download files from it here at college.

My computer at home is behind a router. After lots of messing around with different programs and port forwarding, I'm able to connect to it remotely. However, I'm unable to open a proper data connection. Here's the log from FlashFXP (the home computer is running FileZilla as the server).


[R] 227 Entering Passive Mode (xx,x,xx,xx,xx,140)
[R] Opening data connection IP: xx.x.x.xxx PORT: 3212
[R] Data Socket Error: Connection timed out
[R] List Error
[R] PASV
[R] 227 Entering Passive Mode (xx,x,xx,xx,xx,141)
[R] Opening data connection IP: xx.x.x.xxx PORT: 3213
[R] Data Socket Error: Connection timed out
[R] List Error

xx.x.x.xxx represents my home computer's IP address.

I'm thinking I need to forward certain ports (the 3212 and 3213 maybe?), but I'm not sure. The router is a Microsoft MN-500 if it helps. Has anyone been able to sucessfully setup an ftp server behind a router?
 

Missing Ghost

Senior member
Oct 31, 2005
254
0
76
You need to open port 20 for active mode, or one port >1024 / connection for passive mode.
Like here at home I have the server set to use ports 1024 to 1050, and then forwarded that range to the server.
 

Trevante

Senior member
Jul 13, 2005
227
0
0
Thanks a lot for your help. It turns out I had already forwarded port 20 for active mode. However, I was trying to use passive mode in my client. Once I took that off, it connected just fine. I didn't even have to go home to mess with the settings. Thanks a lot.