Unique Linux Virtualization and Web Sharing Problem
I am posting this message in the Networking forums because my issure here is visibility into a Virtual Linux box hosted on my Windows PC by my other Virtual Linux on the same PC.
I am a bit constraned because I must keep within certain parameters that were given to me in my assignment or "lab"
I have a home wireless network. My base are windows PCs and for this assignment I have 2 Linux VMs on a Vista PC. I am doinng great with Linux VM2. I can access the internet, and it is configured for dhcp so my network is assigning it a local LAN ip address. I am root on my Linux VM2.
On my Linux VM1 I am only a user with no rights to install programs, etc. There is not even the function lsusb on this machine so I can't even mount a USB. Thankfully I can peddle things in an out of my Linux VM1 through the CD ROM drive.
My Linux VM1 has a web server running on it. It's Appache. If I am logged in as a local user into VM1 then I can access that web page, but I am not able to access the internet and no other machine can see its web content.
VM1 cannot be suverted through re-installation, reboot or reassigning the root password, by means of LiveCD, bootup innteruption by means of pressng "e" or f2 and the like.
The assignment is to tweak the machine some other way, to either make it visible so that I have more control over it.
In the assignment, VM1 is configured as a static ip, so we are instructed to set the ip as 192.168.1.nnn as an example. To make things even stranger, they instruct us to set the gateway/dns to an ip address within the 192.168.1.nnn range) and this ip address that they have given does not exist within my network and I do not have a DNS server in my LAN. We don't have to set one up for the assignment. My other machines are being assigned to the range 192.168.0.nnn
When I do some network discovery with Zenmap, it shows the visual traceroute map with VM1 as being outside my "homeportal". which I though was a bit strange.
My constraint is that I can not reconfigure VM1 itself, but I can play with my Vista networking, and the VM2 machine (all machines are running on same hardware.
I have been playing around with the networking but to little avail. I must be missing something.
Another question is, not that I can log into VM1 as a normal user, I ran a netstat adn found that ssh was a running process. How can I find out which port that process is listening on? It's internal firewall is blocking ports, so that when I do a port scan it cannot be definitive about whether ports are open because all ports have been filtered, and I fel that, even though ssh runs on 22 adn some other higher ports, that this may have been intentionally obscured in the assignment. So I am looking for a way through the normal user account on VM1 to query which ports are using what (if possible).
Any insights, information or instructions would be very helpful. I am smewhat purplexed by this assignment. I have gotten halfway through simply to be stymied by these issues ! Thank you in advance...