From: Gerard B. <Fa...@ly...> - 2004-08-31 19:58:16
|
Hello people, I'm having a bit of a stuggle with FXP access here. I think my firewall is the problem, but I'm not sure... AllowForeignAddress is set to on, then I also set this: PassivePorts 49152 65534. This range and port 21 are open for incoming and outgoing traffic on my firewall. When I try to FXP, the entire session is initiated and it seems as if everything runs fine, but no actual data gets transferred! The file on the remote side (my server in this case) remains of a 0 size and after a while it times out. Here is a session transcript from both sides, 2 tries: Try #1: ======== STATUS:> Site to site configuration #1: source - PASV, destination - PORT. COMMAND:> SRC: TYPE A SRC: 200 Type set to A COMMAND:> DST: TYPE A DST: 200 Type set to A COMMAND:> SRC: PASV SRC: 227 Entering Passive Mode (213,133,108,8,234,186). COMMAND:> DST: PORT 213,133,108,8,234,186 DST: 200 PORT command successful COMMAND:> DST: CWD / DST: 250 CWD command successful. STATUS:> DST: PWD skipped. Current folder: "/". COMMAND:> SRC: RETR config.inc.php COMMAND:> DST: STOR config.inc.php SRC: 421 No Transfer Timeout (600 seconds): closing control connection. ERROR:> SRC: Service unavailable. Try again later. ERROR:> Site-to-site transfer failed. ======== Then it turns PORT and PASV around and tries a 2nd time: ======== STATUS:> Site-to-site configuration #2: source - PORT, destination - PASV. COMMAND:> DST: TYPE A DST: 200 Type set to A COMMAND:> SRC: TYPE A SRC: 200 Type set to A COMMAND:> DST: PASV DST: 227 Entering Passive Mode (145,99,208,51,237,205). COMMAND:> SRC: PORT 145,99,208,51,237,205 SRC: 200 PORT command successful COMMAND:> SRC: CWD /WWW SRC: 250 CWD command successful. STATUS:> SRC: PWD skipped. Current folder: "/WWW". COMMAND:> SRC: RETR config.inc.php COMMAND:> DST: STOR config.inc.php SRC: 425 Unable to build data connection: Connection refused ERROR:> SRC: Server can't open data connection. ERROR:> Site-to-site transfer failed. ======== The second one doesn't work because of a problem in the remote server's firewall, but the first one SHOULD work... The file IS created on my server, but the size is always 0. Any ideas? Thanks, - Gerard |