[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: invalid PORT command



Hi there,

I don't know the reason of this message but I've had the same if I
mistakenly MASQ'ed
doubly, i. e. packet went throu by two rules with -j MASQ (one from FORWARD
and one from OUTPUT chain).

Regards for all
Chris

----- Original Message -----
From: "Gabor Gludovatz" <ggabor@sopron.hu>
To: <debian-user@lists.debian.org>
Sent: Friday, May 25, 2001 4:18 PM
Subject: invalid PORT command


> Hello,
>
> there is an NT FTP server with private IP (192.168.0.240) behind a
> Debian, and on the Debian the port 90 is forwarded to the nt's port 21
> with redir. If I try to connect
> to the Debian's port 90, I get connected to the NT, but if my ftp client
> tries to download
> something or even do a directory listing, the nt's ftp servers says:
> 'invalid port command'.
>
> So, the server (the NT) is masquaraded, not the client, that's why I use
> PORT instead of PASV.
>
> My FTP client (Internet) --> Debian (masq firewall) --> NT FTP server
> (private IP)
>
> Cmd: PORT 63,112,201,195,4,136
> 500: Invalid PORT Command.
>
> Does someone know, what to do in this case?
>
> The ftp server is Microsoft FTP Service (Version 5.0).
>
> Thanks,
>   Gabor
>
>
>
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org



Reply to: