A maneira de fazer isso é através do nat.conf
file na configuração da vmnet :
Turns out its easy -
nat.conf
is the key. Just add the configuration to/Library/Application\ Support/VMware\ Fusion/vmnet8/nat.conf
in the
incomingtcp
configuration.[incomingtcp] 80 = IP_OF_THE_VMWARE:80
And restart the vmware networking:
sudo /Library/Application\ Support/VMware\ Fusion/boot.sh --restart
EDIT - Mais detalhes
Depois que a porta for encaminhada, verifique se o Firewall do Windows da VM não está bloqueando a porta interna. Acesse a VM usando o endereço IP do host. Do site da VMware :
The following line shows the format used in this section.
8887 = 192.168.27.128:21
This example creates a mapping from port 8887 on the host to the IP address 192.168.27.128 and port 21. When this mapping is set and an external machine connects to the host at port 8887, the network packets are automatically forwarded to port 21 (the standard port for FTP) on the virtual machine with IP address 192.168.27.128.