I'm using FtpServer in a machine hosted under NAT.

Connected to myhome.homeip.net.
220 Service ready for new user.
Name (myhome.homeip.net): admin
331 User name okay, need password for admin.
Password:
230 User logged in, proceed.
Remote system type is UNIX.
ftp> dir
227 Entering Passive Mode (192,168,1,10,204,239)
ftp: connect: Network is unreachable
ftp> pas
Passive mode off.
ftp> dir
200 Command PORT okay.
150 File status okay; about to open data connection.
<it hungs>

Most FTP servers solve this by setting a property in FTP daemon for
MasqueRading http://www.proftpd.org/docs/howto/NAT.html

FtpServer has a DataConnectionConfiguration which seemed to be the correct
place for this.
However the setServerAddress methods I found are for binding purposes, and
not masquerading.

Any hints on this are appreciated.

Reply via email to