VMware is a virtualization software that allows a guest operating system to be run ontop of a host operating system. Thus one computer can be running several different operating systems all at the same time while sharing resources like RAM, disk space and CPU load.
In this scenario lets suppose that you are running vmware server and you have a NAT host that you would like to allow port forwarding to. You would want to do this for example, if your NAT'ed host was running a webserver and you wanted to redirect traffic from port 8080 to that guest.
You can accomplish this by altering the information in /etc/vmware/vmnet8/nat/nat.conf
Since 80 would be a TCP port, we want to make the following insertion in the section [incomingtcp]. Add the following:
What is going on is that the first number "80" represents the port that will be called from the outside world, like a web browser. The next number is the ip-address of the NAT'ed guest that we want to reach followed by a colon and the port that we want to reach on that client. If you wanted the outside world to come in over a non-standard port like 8080 it would look like this:
Now you will need to restart the vmware service to allow the change.
Feel free to leave a comment or question
Code block comments
2010-03-19
Added a code block for comments
Windows 7 Items
2009-09-24
new info on windows 7
Snort on Debain Lenny
2009-08-19
Installing snort+PGSQL on Debian