Hi,
I am trying to setup ftp-proxy on multiple hosts on port 21
The main ftp server (pure-ftpd) is also running on the same hosts on
port 211
The idea is that the user may connect to any ftp server and get proxied
to the correct one via LDAP lookups. The destination server may or may
not be publicly reachable.
All is working fine if
user's destination is serverY and he connected to serverX
but if
user's destination is server Y and he connects to serverY
the login is ok, but the user cannot see no data
Gets an "425 Can't open data connection." message
Is this a limitation of I have misconfigured the ftp proxy/server.
best regards and thanks in advance
__EXAMPLE__
In this example the user's destination server is mars and destination
port is 211
-- connecting to venus
bash$ ftp venus
Connected to venus.
220 venus FTP server (Version 1.8 - 2002/01/14 20:09:00) ready.
Name (venus:atif): dwebster(a)cnetwork.ispman.net
331 User dwebster(a)cnetwork.ispman.net OK. Password required
Password:
230-User dwebster(a)cnetwork.ispman.net has group access to: 1003
230-This server supports FXP transfers
230 OK. Current restricted directory is /
ftp> ls
200 PORT command successful.
150 Connecting to port 32796
.
..
public_html
x
y
z
226-Options: -a
226 6 matches total
29 bytes received in 0.023 seconds (1.22 Kbytes/s)
-- connecting to mars
bash$ ftp mars
Connected to mars.
220 mars FTP server (Version 1.8 - 2002/01/14 20:09:00) ready.
Name (mars:atif): dwebster(a)cnetwork.ispman.net
331 User dwebster(a)cnetwork.ispman.net OK. Password required
Password:
230-User dwebster(a)cnetwork.ispman.net has group access to: 1003
230-This server supports FXP transfers
230 OK. Current restricted directory is /
ftp> ls
200 PORT command successful.
425 Can't open data connection.