[ILUG] Running FTP server behind masquerade firewall

From: Mel (mel at domain csn.ul.ie)
Date: Mon 29 Jul 2002 - 15:51:30 IST


I'm running a small FTP server on a computer with a private IP 10.0.0.1
and I want it reachable from outside the firewall. What I have is a port
forwarder running on the firewall which forwards a particular port to FTP
on my machine and an iptables rule to accept the connection. That works, I
FTP to the port on the firewall and I see the welcome message

Problem is that is it. even with passive mode on, I can't do an ls or
anything. I suspected that the data port was the problem but I'm seeing no
evidence with packet sniffers or otherwise that this is happening and
google doesn't appear to have teh answer. All internal machines are
allowed to connect outside on any port and are masqueraded

Any idea why passive might not work?

-- 
Mel Gorman
MSc Student, University of Limerick
http://www.csn.ul.ie/~mel


This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:18:06 GMT