Creating a VM cluster of 3 VMs in a NAT network, each connected to host using NAT for wifi access. VM1 hosts a Apache web server and VM2 stores the SQL Server database, handled using phpmyadmin. Showed how host can access VM1 remotely using port forwarding ssh from port 2222 to 22, and can access web server using port 8080 to 80. Showed how host can access VM1 remotely using ssh. Installed apache2, php in VM1 and apache2, php, sql-server in VM2.
Edit: I can also access VM1 remotely from VM3 by copying my ssh key from VM3 to VM1 and then ssh vboxuser@192.168.120.
[ad_2]
source