To enable and set up NAT on a LAN or WAN interface, complete the following steps:
At the server console, enter
LOAD INETCFG
Select
> .Select the appropriate interface with TCP/IP bound to it.
NAT can be set up on the private interface or the public interface.
The public interface is either a LAN or WAN interface that connects your router to the Internet or other public network. NAT is most commonly used on the public interface.
Select
.Select
.Set Status to
, and , or .If you set
to or , complete the following substeps to map private IP addresses to public IP addresses:Select
.Press
to open the window.In the
field, specify the public IP address to which a private address is mapped.In the
field, specify the IP address of the private host that you want public hosts to access using the public IP address.Press
to add the entry to the NAT table.For address translation of inbound requests, repeat the steps for each private host to be accessed by public hosts.
(Optional) If you selected
for address translation of outbound requests, repeat the steps for each private host that you want to have access to the Internet through the NAT-enabled interface using a public address.The public addresses can be on the same network or subnetwork as the primary IP address, or they can be on a different network or subnetwork. If the public addresses are on the same network or subnetwork, use multihoming, as described in Section 20.3, Setting Up NAT with Multihoming, to add secondary addresses to the NAT-enabled interface.
Each private host address can be mapped to only one public host address. To access IP hosts using the public address within the private network, ensure that the static address pair specifies the same address for both the public and private addresses.
If NAT is connected to the Internet using multi-access WAN links, you must add static routes on your external router so that packets that are destined to one of the public addresses can be routed to the NAT interface.
If you set
to or , configure a secondary address for each public address you configured in the network address translation table.Refer to Section 20.3, Setting Up NAT with Multihoming for instructions on how to configure a secondary address.
Press
until you are prompted to update your changes, then select .Press
until you are prompted to exit INETCFG, then select .If you want the NAT configuration to take effect immediately, bring down and restart the server.