VMware Communities
JoshL2
Contributor
Contributor

Adding a port forwarding rule breaks networking for NAT VM

I have a Linux (CentOS 7, 64bit) guest VM running on a 64-bit Windows 7 host.  I have the networking set to NAT.  I have given the VM a static IP, because I need to use it to communicate to a server which whitelists clients by IP.  So far, everything works; the guest can ping the VMware Workstation gateway (192.168.140.2, in this case), DNS works, I can ping the outside world.

Then I add a port fowarding rule, so that the server can send requests to the guest VM.  As soon as I add the port forwarding rule, the guest VM can no longer use the network; it cannot even ping the gateway anymore (getting a "Destination Host Unreachable" error).  DNS no longer works.  Nothing works.

I don't understand how adding a port forwarding rule could have this affect!

Please let me know if there's any additional information I can supply, or if anyone has any idea how this could be happening!

Thanks

--Josh

0 Kudos
0 Replies