Monthly Archives: June 2016

VMWare Player : NAT not working when forwarding some ports

Published by:

When using NAT with the VMWare Player, you might want to make sure that there aren’t applications on your PC that are using the ports you want to forward.

When you try to forward a port that is in use, the network will stop functioning as a whole.

netwcfg

Here is an example of a NAT setup. The proxy is a tunnel over ssh, that acts as a socks5 proxy and is working fine. Then I tried to forward port 80, so that I can access the websites I’m working on in the Linux guest.
As soon as I activated this configuration, I lost all network connections in the guest os.

When I looked at what ports were used by the host system, using the netstat -nba command:

netstcfg

I noticed Skype used port 80 and that’s why I couldn’t forward port 80. Once I disabled port 80 in Skype it worked.

To disable these ports in Skype, click Tools -> Options -> Advanced tab -> Connection. Uncheck “Use port 80 and 443 as an alternatives for incoming connections”. Save and restart Skype.

Links:

How to use NAT in VMWare
https://www.vmware.com/support/ws45/doc/network_nat_details_ws.html

Where to find vmnetcfg?
https://ninety9names.wordpress.com/2013/12/18/download-vmnetcfg-exe-vmnetcfglib-dll-for-vmware-player-6-x-7-x/

Bad Behavior has blocked 1016 access attempts in the last 7 days.