On Fri, 10 Oct 2003 22:29:27 +0200
Greg Bolshaw <greg@linuxtechnologies.co.uk> wrote:
> Bit of a strange problem.
> I'm running ProFTPd + inetd on a machine with a private IP address
> (10.0.0.1). The router forwards all incoming traffic from the public IP to
> the private IP.
> When I FTP to the server over the Internet, it connects fine. As soon as I
> list the current directory, it seems to be trying to connect to the private
> IP (see below). Where do I tell ProFTPd/inetd to use the public IP instead?
I believe the answer is that you need to load up the NAT module to
translate FTP connections. Take a look at ip_conntrack_ftp and ip_nat_ftp.
--
Steve C. Lamb | I'm your priest, I'm your shrink, I'm your
PGP Key: 8B6E99C5 | main connection to the switchboard of souls.
-------------------------------+---------------------------------------------
Attachment:
pgpD2D3NzNrWl.pgp
Description: PGP signature