NAT machines cant do 'dir' after connecting to FTP

Antony Stone Antony@Soft-Solutions.co.uk
Mon, 3 Jun 2002 16:52:38 +0100


On Monday 03 June 2002 4:30 pm, Neil Aggarwal wrote:

> I can ftp from an internal machine and connect to an
> external server.  I can give it a user name and password
> and login successfully, but when I try to type dir or
> ls, the ftp client sits for a long time
> and then I get a message:
>  425 Not able to open data connection.
>
> Here are the commands that I used:
> 	# Load the conntrack ftp module
>       /sbin/modprobe ip_conntrack_ftp

You need to load the module ip_nat_ftp as well.


Antony.