Page 1 of 1

Ubuntu 8.04 Guest (Howto: Configure ProFTPD on Guest)

Posted: 18. Jun 2009, 11:15
by darnielng
My Host is Vbox is 2.2.4 running on Kubuntu 8.10, Guest Ubuntu 8.04 with install XAMPP where proftpd (FTP Server) is running. The guest machine is built as a web development server where I temporary post my php development for staging before I upload it to the real web server on the Internet.

On the Vbox Guest, I have enabled both "Bridged" - 192.168.0.201 and "NAT' - 10.0.2.15

From the host, I can ping the 192.168.0.201 (guest fixed IP with Bridged network) and also ping from my guest to host (192.168.0.10). My Host is unable to connect to the FTP Server located my Guest. FYI. Both the host is connected to a Aztech router/modem.

Now the strange thing is, I am able to "username@goldfish:/home/user/$ ftp localhost" or even 127.0.0.1

I only wish to connect locally with FTP from my Host to Guest, if this works my Aptana Studio (host) will also be able to connect to it.

The following is my proftpd.conf located in /opt/lampp/etc
ServerName "goldfish"
ServerType standalone
DefaultServer on

# Configure FTP Server behind NAT
PassivePorts 60000 60100
MasqueradeAddress 192.168.0.201
######

Port 21

Umask 022


MaxInstances 30

User nobody
#Group nogroup

<Directory /opt/lampp/htdocs/*>
AllowOverwrite on
</Directory>

DefaultRoot /opt/lampp/htdocs

UserPassword nobody wRPBu8u4YP0CY

RequireValidShell off

UseFtpUsers off
==========================end of proftpd.conf=============

On the guest I have also mapped the htdocs folders and
mount --bind /opt/lampp/htdocs/ /home/webmin/www_dev

Added the following lines to fstab
/opt/lampp/htdocs/ /home/webmin/www_dev none bind 0 0
=======================================================

Is this a limitation to the Bridged/NAT drivers of Vbox?

What other configurations were missed out on the host and guest to enable this FTP Server (proftpd) to function within my local network to communicate with my host?

Please advise.

Re: Ubuntu 8.04 Guest (Howto: Configure ProFTPD on Guest)

Posted: 15. Jan 2011, 21:42
by Averest
I have the same problem, but proftpd start work afert restart guest system. Proftpd work very slow. Itryed ping system, and saw that first ping delay is very by, or just lost.
Does any one know how to fix it?

PS. Sory for my bad English :D .

Re: Ubuntu 8.04 Guest (Howto: Configure ProFTPD on Guest)

Posted: 15. Jan 2011, 22:13
by Sasquatch
When you can't connect to the FTP server from other machines than the server itself, it's clearly that it's config is wrong, most likely it is bound to the loopback interface or doesn't listen on all IP addresses. Read the ProFTP installation and configuration instructions for more information.

The slowness you describe Averest is not the same as the OP has, he can't connect at all.