On Tue, 05 Jun 2007 15:46:18 -0700, Martin rearranged some electrons to
form:
> I'm trying to get an FTP server running behind a router. The ports are
> forwarded & I can connect just fine from the world, but when it tries to
> goto passive mode, the FTP server is returning it's 192.xxx address for
> the data connection. How can you set it to return the public address?
> The man pages don't really go into this, but I'd be surprised if the
> server actually had to be on the public address. This is on FreeBSD 6.2.
>
> Thanks,
> Marty
The router also needs to forward the ports that are used in passive mode,
not just port 20 & 21. You should be able to configure your FTP server to
use a particular block of random ports, and those ports have to pass
through your router.
http://slacksite.com/other/ftp.html
--
David M (dmacchiarolo)
http://home.triad.rr.com/redsled
T/S 53
sled351 Linux 2.4.18-14 has been up 22:20 1 user