Ubuntu 8.04 Guest (Howto: Configure ProFTPD on Guest)

Discussions about using Linux guests in VirtualBox.
Post Reply
darnielng
Posts: 1
Joined: 18. Jun 2009, 10:40
Primary OS: Ubuntu 8.10
VBox Version: OSE Debian
Guest OSses: Ubuntu 8.04

Ubuntu 8.04 Guest (Howto: Configure ProFTPD on Guest)

Post 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.
Averest
Posts: 1
Joined: 15. Jan 2011, 21:20
Primary OS: MS Windows XP
VBox Version: OSE Debian
Guest OSses: debian

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

Post 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 .
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

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

Post 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.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Post Reply