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

Re: ProFTPd over NAT



Steve Lamb wrote:
> 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.

It's a hardware router doing the NAT, I'm not use iptables locally.

Thanks
-- 
Greg



Reply to: