I recently had a need to access my virtual machine in VMWare Fusion through the Windows Remote Desktop (RDP, port 3389). I needed to also keep the NAT setup rather than bridging my virtual machine directly to the network.

Thanks to this guy, I was able to configure the VMWare NAT configuration to listen to the specific port on the host machine’s network adapter and forward to the specific port on the virtual machine.

Here is how I did it:

  1. Open Terminal
     
  2. Navigation to the “vmnet8” directory

     
  3. Open “nat.conf” with VI (must be superuser mode, sudo)

     
  4. Using the arrow keys, move the cursor to the line after “[incomingtcp]”
     
  5. To edit the document, hit : o (colon, then the letter O)
     
  6. Enter the port and IP information like the following:


     
    HOST_PORT = VM_IPADDRESS:VM_PORT
     
  7. Then just restart the VMWare Networking stack and you are done

Pin It on Pinterest

Share This
%d bloggers like this: