On 6 May 99, at 10:58, Sean Roe wrote about
"Re: [Masq] Re: FTP Stuff":
| >On 5 May 99, at 17:27, Sean Roe wrote about
| > "[Masq] FTP Stuff":
| >
| >| I have an ftp server behind my MASQ box and I want to be able to ftp to
| both
| >| machines on different ports. I can ftp to the MASQ box but I cant ftp to
| the
| >| other box.
| >
| >What happens when you try?
|
| It just dies....Here is the output from LeechFTP :
It doesn't "just die". In fact, it doesn't die at all. It connects
successfully and gets all the way up to your first attempted data
transfer (apparently a LIST). And then it gracefully reports the
error. This is very helpfull.
| ~ Connecting...
| ~ Connected to 209.180.148.65, waiting for response...
| < 220 ethel.desertdocs.com FTP server (Version wu-2.4.2-academ[BETA-18](1)
| Mon Jan 18 19:19:31 EST 1999) ready.
So this log was captured from the FTP client, right?
| > USER sean
| < 331 Password required for sean.
| > PASS *****
| < 230 User sean logged in.
| > REST 1
| < 350 Restarting at 1. Send STORE or RETRIEVE to initiate transfer.
| > REST 0
| < 350 Restarting at 0. Send STORE or RETRIEVE to initiate transfer.
| > SYST
| < 215 UNIX Type: L8
| > PWD
| < 257 "/home/sean" is current directory.
| ~ Login completed.
| > PORT 192,168,101,70,4,20
You said it is the server that is masq'ed, so the client should be
connecting from outside. Yet when the client sends its IP address in
the PORT command, it is a private network number. That's why you
get:
| < 500 Illegal PORT Command
| ~ Could not retrieve directory listing for "/home/sean/"
This is a problem on the *client* side, not the server. It appears
the FTP client is itself on a private network behind a masquerading
firewall, and the client's masquerade box is either not running the
ip_masq_ftp module, or it is running but wasn't told to look for FTP
connections on port 210.
When you load ip_masq_ftp.o, use the ports option, e.g.:
insmod ip_masq_ftp ports=21,210
- Fred Viles <mailto:[EMAIL PROTECTED]>
_______________________________________________
Masq maillist - [EMAIL PROTECTED]
http://tiffany.indyramp.com/mailman/listinfo/masq
Admin requests can be handled by web (above) or [EMAIL PROTECTED]