Don't know if I am putting this under the right forum, but here it goes...
I have a small webserver going in my basement for me and some friends to host off of. It is running Mandrake 9.2 and ProFTPd 1.2.8 (mdk RPM package). The server works fine if I connect via LAN, but for those who are outside of it, they get the following:
Looks to me from the bottom there, that it is using the internal LAN IP for Passive mode. How can I change this...or is something else causing this?Quote:
gFTP 2.0.17pre0, Copyright (C) 1998-2003 Brian Masney <email@example.com>. If you have any questions, comments, or suggestions about this program, please feel free to email them to me. You can always find out the latest news about gFTP from my website at http://www.gftp.org/
gFTP comes with ABSOLUTELY NO WARRANTY; for details, see the COPYING file. This is free software, and you are welcome to redistribute it under certain conditions; for details, see the COPYING file
Looking up xx.xx.xx.xx
Connected to xx.xx.xx.xx:21
220 ProFTPD 1.2.8 Server (ProFTPD Default Installation) [server]
331 Password required for xxxx.
230 User xxxx logged in.
215 UNIX Type: L8
200 Type set to I
257 "/" is current directory.
227 Entering Passive Mode (192,168,1,101,16,145).
Cannot create a data connection: No route to host
Disconnecting from site xx.xx.xx.xx
Also, which ports should be forwarded to the FTP server through the router (besides 21)?
BTW, I have /etc/hosts set that the machine is set to the external IP. Is this correct?
Thanks for your help.