Ubuntu 8.04 Guest (Howto: Configure ProFTPD on Guest)
Posted: 18. Jun 2009, 11:15
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.
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.