Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

FTP error with Masquerading on SuSE 7.0

2 views
Skip to first unread message

F. Haskamp

unread,
Sep 4, 2001, 2:42:33 PM9/4/01
to
Hello there, i've got a problem with connecting to a ftp-server from my
windows - machine. It connects, but it cannot get a directory listing or
download anything. Is there anyone knowing a little hint how to solve this
problem?? WWW works fine.

Thanks
Florian


Pivert

unread,
Sep 25, 2001, 7:35:10 PM9/25/01
to
Hi !!!
I've exactly the same problem. ( I use Mandrake 8.1 Candidate Release )

To see the error, just connect with command line ftp under windows shell.
You 'll see a

500 Illegal PORT Command

The reason seem to be a problem with your masquerading for ftp.

FTP connection is a bit special, because your ftp client execute a PORT
command and give his IP address (the local ip address). For ftp to work, you
should have a module (called ip_masq_ftp) that look in ftp packets to
replace this pricate ip with the external one. But it's seems not working.
My problems :
I'm unable to locate this module. I only have a ip_nat_ftp.
When I load it, it doesn't solve the problem.

Is ip_masq_ftp a modules for older kernels ???
Which module is doing this work ??

If you have good news, please tell me.
Bye

"F. Haskamp" <ma...@florianhaskamp.de> wrote in message
news:3b951...@news.arcor-ip.de...

Peter Graves

unread,
Feb 20, 2002, 5:15:35 AM2/20/02
to
I hope you've solved the problem by now but for the record, this might not
address your particular problem, but try setting your ftp app to passive mode if
possible. This allowed me to FTP from my Masq'd clients because when it sends a
PORT command, it will allow for the automatic changing of ports (not all ftp
apps support it, most do somewhere).
0 new messages