For When You Can't Have The Real Thing
[ start | index | login ]
start > wu-ftp > IPTables on FTP Server

IPTables on FTP Server

Created by dave. Last edited by dave, 17 years and 213 days ago. Viewed 2,593 times. #2
[diff] [history] [edit] [rdf]
labels
attachments

Symptom:

You can connect to a ftp server. When you try to do anything (like ls) the client responds with no route to host or falling back to PORT instead of PASV.

Solution:

Your server is running IPTables and doesn't know how to open connections for PASV transfers.

Make sure this module is loaded:

# modprobe ip_conntrack_ftp

I load it in my iptables startup script before any rules are applied.

no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful:


snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt