LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] ftp server test - iptables problem

[ILUG] ftp server test - iptables problem

Niall Walsh niallwalsh at users.berlios.de
Sat Aug 27 13:14:25 IST 2011


-------- 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




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


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!
RSS Version
Powered by Dell