[CLUE-Tech] enabling ftp

rfrank rfrank at rfrank.net
Fri Mar 16 16:26:17 MST 2001


Usually the how-to's and the newbie help files get me through it,
but I'm stumped on this one.  I've taken Mandrake 7.2 and set it up
as a firewall/IP masquerader on a dedicated machine with my home
network on the 2nd Ethernet card side of that box. That all works fine 
as far as I can tell.

Now, from outside, I want to be able to ftp into that machine and
get files.  (Later I want to telnet and ssh and even put a web page up,
but that's further down the learning curve.)

I have the (default) entry in /etc/passwd for ftp, I haven't modified
/etc/ftpaccess but made sure it's there.  I do have the line
/sbin/modprobe ip_masq_ftp in my /etc/rc.d/rc.firewall script.
/etc/inetd.conf looks good to me (as best as I would know).
But when I try to connect to my dedicated IP address from 
a machine outside my local network, I get:
  [rfrank at brechin rfrank]$  ftp 24.221.212.160
  ftp: connect: Connection refused
  ftp> 
I get similar results with telnet to the same address. 

This can't be that tough.  What have I missed?  A firewall rule?
Turning on some daemon?  

Roger Frank



More information about the clue-tech mailing list