Settting Up NAT on a Single Interface

To enable and set up NAT on a LAN or WAN interface:

  1. At the server console, enter

    LOAD INETCFG

  2. Select Protocols > Bindings.

  3. 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.

  4. Select Expert TCP/IP Bind Options.

  5. Select Network Address Translation.

  6. Set Status to Dynamic Only, Static and Dynamic, or Static Only.

  7. If you set Status to Static Only or Static and Dynamic, complete the following substeps to map private IP addresses to public IP addresses:

    1. Select Network Address Translation Table.

    2. Press Ins to open the Network Address Translation Entry window.

    3. In the Public Address field, enter the public IP address to which a private address is mapped.

    4. In the Private Address field, enter the IP address of the private host that you want public hosts to access using the public IP address.

    5. Press Esc to add the entry to the NAT table.

    6. For address translation of inbound requests, repeat the steps for each private host to be accessed by public hosts.

    7. (Optional) If you selected Static Only, 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 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.

  8. If you set Status to Static Only or Static and Dynamic, configure a secondary address for each public address you configured in the network address translation table.

    Refer to Setting Up NAT with Multihoming for instructions on how to configure a secondary address.

  9. Press Esc until you are prompted to update your changes, then select Yes.

  10. Press Esc until you are prompted to exit INETCFG, then select Yes.

  11. If you want the NAT configuration to take effect immediately, bring down and restart the server.