All of lore.kernel.org
 help / color / mirror / Atom feed
* FTP client behind a gateway
@ 2002-10-29 11:51 Julio Cesar Ody
  2002-10-29 13:50 ` Antony Stone
  2002-10-29 15:09 ` R. Sterenborg
  0 siblings, 2 replies; 3+ messages in thread
From: Julio Cesar Ody @ 2002-10-29 11:51 UTC (permalink / raw)
  To: netfilter

Hello. I don't know if anybody else faced this problem, but when I'm 
behind a gateway (using iptables to perform NAT), I can connect to any 
FTP server (using the client machines behind the gate) but when I 
request a directory listing by using the "ls" command, it refuses to 
enter passive mode. The same doesn't happen when I do it with the 
gateway machine. Any solutions or ideas ? Thanks again.


Julio Cesar Ody



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: FTP client behind a gateway
  2002-10-29 11:51 FTP client behind a gateway Julio Cesar Ody
@ 2002-10-29 13:50 ` Antony Stone
  2002-10-29 15:09 ` R. Sterenborg
  1 sibling, 0 replies; 3+ messages in thread
From: Antony Stone @ 2002-10-29 13:50 UTC (permalink / raw)
  To: netfilter

On Tuesday 29 October 2002 11:51 am, Julio Cesar Ody wrote:

> Hello. I don't know if anybody else faced this problem, but when I'm
> behind a gateway (using iptables to perform NAT), I can connect to any
> FTP server (using the client machines behind the gate) but when I
> request a directory listing by using the "ls" command, it refuses to
> enter passive mode. The same doesn't happen when I do it with the
> gateway machine. Any solutions or ideas ? Thanks again.

I know you're using passive mode and not active, but have you included 
support (either compiled in or as a module) for ftp connection tracking and 
ftp nat ?

NAT still needs to know the port numbers used in passive ftp, so it needs the 
helper module loaded in order to see the PORT command.

Antony.

-- 

Documentation is like sex:
when it's good, it's very very good;
when it's bad, it's still better than nothing.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: FTP client behind a gateway
  2002-10-29 11:51 FTP client behind a gateway Julio Cesar Ody
  2002-10-29 13:50 ` Antony Stone
@ 2002-10-29 15:09 ` R. Sterenborg
  1 sibling, 0 replies; 3+ messages in thread
From: R. Sterenborg @ 2002-10-29 15:09 UTC (permalink / raw)
  To: 'Julio Cesar Ody', netfilter

> Hello. I don't know if anybody else faced this problem, but when I'm
> behind a gateway (using iptables to perform NAT), I can connect to
any
> FTP server (using the client machines behind the gate) but when I
> request a directory listing by using the "ls" command, it refuses to
> enter passive mode. The same doesn't happen when I do it with the
> gateway machine. Any solutions or ideas ? Thanks again.

If you compiled these as modules ;
do you have the ip_nat_ftp and ip_conntrack_ftp modules loaded (lsmod)
?


Rob



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-10-29 15:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-29 11:51 FTP client behind a gateway Julio Cesar Ody
2002-10-29 13:50 ` Antony Stone
2002-10-29 15:09 ` R. Sterenborg

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.