As I said in one of my previous posts, I _love_ VMWare Player (much more than its Workstation brother). There is no surprise, I want to have some neat port forwarding (from HOST machine to VMWare).
I found the following information on http://asunix.tufts.edu/howto/vmware/portforwardingWin7:
Step 0: If using VMware Workstation, continue to Step 1. However, if using VMware Player, you need to extract the `Virtual Network Editor' from the installer via the following command:
$> VMware-player-setup.exe /e .\extract
Go into `extract' -> `network' and copy `vmnetcfg' into the VMware Player directory before you use this tool. Once `vmnetcfg' is in the VMware Player folder, you can launch this tool to configure the NAT port forwarding.
Step 1: Open the Virtual Network Editor ( either from Workstation or launch `vmnetcfg' )
Step 2: Choose `VMnet8' from the interface list, change the Subnet IP at the bottom of the panel to `192.168.192.0' then and choose `NAT Settings...' from the VMnet Information panel.
Step 3: Ensure that the Gateway IP is set to `192.168.192.2' and then choose `Add' under the Port Forwarding panel.
Step 4: Fill in the port map information with the following data:
Host Port: 22
Type: TCP
Virtual machine IP address: 192.168.192.100
Virtual machine port: 22
Description: SSH
Step 5: Apply all settings and close out of the Virtual Network Editor.
Pretty useful, thank you.
ReplyDeleteHi,
ReplyDeleteIs it possible to access the localhost site of vm machine remotely
Hi,
DeleteIs it possible to access the localhost site of vm machine remotely ..i m using vMware Player
Please help!
You can access it using this kind of port forwarding, as described above. If you forward port 80 from your machine into your VMWare's website, that should do the trick.
Delete