Specifications

CHAPTER 7 Networking
275
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.
The [incomingudp] Section
Use this section to configure UDP port forwarding for NAT. You can assign a port
number to an IP address and port number on a virtual machine.
The following line shows the format used in this section. It illustrates a way to forward
X server traffic from the host port 6000 to the virtual machine’s port 6001.
6000 = 192.168.27.128:6001
This example creates a mapping from port 6000 on the host to the IP address
192.168.27.128 and port 6001. When this mapping is set and an external machine
connects to the host at port 6000, the network packets are automatically forwarded to
port 6001 on the virtual machine with IP address 192.168.27.128.
Custom NAT and DHCP Configuration on a Windows Host
If you are an advanced user on a Windows host computer, you may wish to make
custom configuration settings by editing the NAT and DHCP configuration files. If your
host operating system is installed on the C drive, the configuration files for NAT and
DHCP are in the following locations:
NAT: C:\Documents and Settings\All Users\Application
Data\VMware\vmnetnat.conf
DHCP: C:\Documents and Settings\All Users\Application
Data\VMware\vmnetdhcp.conf
Note: You can change many key NAT and DCHP settings using the Virtual Network
Editor (Host > Virtual Network Settings). However, if you have made manual changes
to the configuration files, some or all of those changes may be lost when you use the
Virtual Network Editor. If you have made manual changes, you should make backup
copies of the files before changing any settings in the Virtual Network Editor. After
making changes in the Virtual Network Editor, you can copy your manual changes
back into the appropriate configuration files.
Specifying Connections from Ports Below 1024
When a client machine makes a TCP or UDP connection to a server, the connection
comes from a particular port on the client (the source port) and connects to a