Changes

Jump to: navigation, search

VMware Server NAT Configuration

1,740 bytes added, 14:58, 15 October 2008
no edit summary
The ''nat.conf'' file contains a number of different sections, each allowing a different aspect of the NAT device to be configured:
=== [host] ===
'''ip''' - The IP address of the NAT device on the virtual network. By default this will be <xxx>.1 where the <xxx> is the subnet address assigned to the virtual network.
* '''activeFTP''' - A value of 1 indicates that active FTP sessions (i.e connections initated by remote FTP servers) are supported. A setting of 0 limits connections to passive sessions.
=== [udp] === * '''timeout''' - The amount of time, in minutes, to keep UDP mapping for the NAT device. This is essentially the amount of time for which the NAT device remembers which virtual machine initiated a specific UDP based connection with an external system. If the external system responds after the timeout period has elapsed, the NAT will no longer know to which virtual machine the data should be forwarded, and the UDP packet will be discarded. === [incomingtcp] === The ''[incomingtcp]'' section of the nat.conf file is used to configure TCP port forwarding. This essentially involves mapping an incoming TCP port on the host to the IP address and TCP port of a virtual machine. For example, to map data coming into TCP port 8080 on the host to port 80 on a virtual machine with an IP address of 172.16.86.128, the following directive would need to be entered into the [incomingtcp] section of the configuration file: <pre>8080 = 172.16.86.128:80</pre> As many port forwarding directives as necessary may added to this section of the NAT configuration file. === [incomingudp] === The ''[incomingudp]'' section of the nat.conf file is used to configure UDP port forwarding. Similar to the ''[incomingtcp]]'' section, this essentially involves mapping an incoming UDP port on the host to the IP address and UDP port of a virtual machine. For example, to map data coming into UDP port 8081 on the host to port 8082 on a virtual machine with an IP address of 172.16.86.128, the following directive would need to be entered into the [incomingtcp] section of the configuration file: <pre>8081 = 172.16.86.128:8082</pre> As many port UDP forwarding directives as necessary may added to this section of the NAT configuration file.
1,798
edits

Navigation menu