246 | Chapter 14 - General |
|
|
<internal IP address>
This is the IP address on the internal network to be mapped to the external IP address. It must be entered first, followed by "
<external IP address>
This is the IP address on the external network to be mapped to the internal IP address. The external IP address must be within the range of IP addresses defined by the External Range Addresses.
ϖNote: If only a single external IP address is available for the NAT router, do not map that IP address to an internal IP address because you will no longer be able to communicate with the router. Mapping single ports of the single external IP address to internal IP address:port combinations (e.g., creating access to a web server in the internal NAT network) is acceptable, however.
:<port>
The :port option allows an individual socket (IP address and port combi- nation) to be mapped as part of a translation pair.
ϖNote: An IP address:port combination cannot be paired with an IP address range (even if that range is a single IP address). It can only be paired with another IP address:port combination.
/<bits>
The /bits option allows a range of IP addresses to be mapped as part of a translation pair. The bits field denotes the top or most significant bits which define the range. For example, an address specified as 192.15.32.0/19 would indicate a range from 192.15.32.1 to 192.15.63.255.
NAT Mapping Translation Pair Examples
The following example shows one IP address being translated into another.
[ NAT Mapping ]
10.5.3.20
The following example shows individual sockets (IP address and port combi- nation) being mapped as a translation pair.
[ NAT Mapping ]
10.5.3.10:80