-------- Original Message --------
> From: "David Pintor" <painterman at gmail.com>
SNIP
> When i try to connect remotely, it works but then I can't see the files:
SNIP
> *ftp> ls
> 227 Entering Passive Mode (192,168,15,4,165,231).
> ftp: connect: No route to host*
> ftp>
>>> I know it's a firewall problem cause when i stop iptables it works fine.
> However I dont see what's wrong as port 20 and 21 are open...
You need to use the nf_conntrack_ftp kernel module to handle the
dynamic port allocation done by passive ftp.
http://www.shorewall.net/FTP.html for example has some details about it.
Niall
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!